SimWrapper

SimWrapper

  • Documentation
  • Examples
  • News
  • GitHub

›API Reference / General

Introduction

  • SimWrapper
  • Examples
  • File management
  • Getting help

Guides

  • 1. Getting started tutorial
  • 2. Dashboards in depth
  • 3. Building a project site
  • 4. Publishing to the web

API Reference / MATSim

  • MATSim Network link plots
  • MATSim Carrier viewer
  • MATSim DRT vehicle animation
  • MATSim Logistics Viewer
  • MATSim Public transit supply/demand
  • MATSim Events viewer

API Reference / General

  • Aggregate O/D flows
  • Bar, area, and line charts
  • Calculation tables
  • CSV table viewer
  • Flow maps
  • Gridmap
  • Heatmap chart
  • Matrix (HDF5) Viewer
  • Pie charts
  • Plotly
  • Sankey/Alluvial diagrams
  • Scatter plots
  • Shapefiles: Area maps, network links, and GeoJSON
  • Text blocks
  • Tiles
  • Vega-Lite charts
  • Video player
  • XML Viewer
  • XY hexagons (aggregate)
  • X/Y/Time point data

For Developers

  • Conversion scripts
  • Developing SimWrapper
  • Plugin writing guide
  • SimWrapper Change Log

Scatter plots

Scatterplot example A "bubble" plot, a type of scatterplot where the circle sizes are variable

Scatterplots and bubble plots allow you to plot data on two independent axes.

Usage

Scatterplots can only be included as panels in Dashboards. See Dashboard documentation for general tips on creating dashboard configurations.

  • Each chart panel is defined inside a row in a dashboard-*.yaml file.
  • Choose from panel types scatter and bubble in the dashboard configuration.
  • Standard title, description, and width fields define the frame.

Sample dashboard.yaml config snippet

layout:
  row1:
    - type: 'scatter'
      title: 'Y vs. X'
      description: 'a scatterplot'
      width: 3
      dataset: '*drt_customer_stats.csv'
      x: 'iteration'
      usedCol: [distance]
      legendName: ['Distance (mean)']
      xAxisName: 'Iteration'
      yAxisName: 'Distance, m'
      markerSize: 5

    - type: 'bubble'
      title: 'Y vs. X'
      description: 'a bubbley scatterplot'
      width: 2
      dataset: '*drt_customer_stats.csv'
      x: 'iteration'
      y: 'distance_mean'
      bubble: 'directDistance'
      factor: 100
      legendName: ['Distance (mean)']
      markerSize: 5
      skipFirstRow: false
      xAxisName: 'Iteration'
      yAxisName: 'Distance, m'

Scatterplot and bubbleplot properties

dataset: (Required) String. The filepath containing the data. May include wildcards * and ?.

x: String. The column containing x-values.

y: String. The column containing y-values.

bubble: String. The column containing bubble size values.

legendName: Array of strings. Legend titles for each line. The column names will be used if this is omitted.

xAxisName/yAxisName: Labels for the axes.

← Sankey/Alluvial diagramsShapefiles: Area maps, network links, and GeoJSON →
SimWrapper
Docs
Getting StartedDeveloper GuideLatest Updates
More
VSP HomeMATSim.org⭐ us on GitHub!
Copyright © 2025 VSP, TU Berlin