Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
GGuitong Li
Last edited Feb 3, 2022
Created on Feb 3, 2022

This example shows how reported COVID-19 incidence rates vary by age group across reporting weeks, using a multi-series line chart built with the vega-lite-api library. The visualization combines d3.csv to fetch and parse data from a GitHub-hosted CSV file, filtering specific rows and transforming semicolon-separated fields into structured objects. The vega-lite-api defines the line mark, maps the meldewoche field to the x-axis, inzidenz to the y-axis, and altersgruppe to color. Rendering is handled by Vega-Lite and Vega, with a tooltip handler integrated for interactive data inspection.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes