Skip to main content
100%

Line Chart with Multiple Lines

✓ Published0🌍 Public
PP3nny
Last edited May 6, 2015
Created on May 6, 2015

This example shows how the number of ALG II benefit recipients in Cologne changed from 2005 to 2012 across nine different demographic categories, such as single-parent households or foreign nationals. Each category is rendered as a separate line, using `d3.svg.line` with interpolated smoothing and a category-10 color scale. The data is parsed from a CSV file and nested by category with `d3.nest`, while time is handled via `d3.time.scale`. Axes are drawn with `d3.svg.axis`, and the SVG rendering uses `d3.select` to append paths and labels.

AI-generated description

Similar vizzes