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

Pie charts

pie chart example It's a pie chart

Sometimes a pie chart is all you need. Please remember to use them sparingly; there are often better ways to depict aggregate data.

Usage

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

  • Each pie chart panel is defined inside a row in a dashboard-*.yaml file.
  • Use panel type: pie in the dashboard configuration.
  • Standard title, description, and width fields define the frame.

Sample dashboard.yaml config snippet

layout:
  row1:
    - type: 'pie'
      title: 'Mode Share'
      description: 'From modestats.txt'
      width: 1
      dataset: '*modestats.txt'
      useLastRow: true
      ignoreColumns: ['Iteration']

Pie chart properties

Pie chart properties:

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

useLastRow: true/false. If set to true, only the last row of the datafile will be used to build the pie chart. For example, this is useful for MATSim outputs which list every iteration's output, if you are only in the final iteration.

ignoreColumns: Array of strings. List the column names of any columns that should be left out of the pie chart (e.g. Iteration). Example: ['Iteration']

← Matrix (HDF5) ViewerPlotly →
SimWrapper
Docs
Getting StartedDeveloper GuideLatest Updates
More
VSP HomeMATSim.org⭐ us on GitHub!
Copyright © 2025 VSP, TU Berlin