Skip to main content
100%

Multiple Simple graphs on one page

✓ Published0🌍 Public
Dd3noob
Last edited Nov 30, 2019
Created on Jul 12, 2013

Two line charts display daily closing values from two separate CSV files, each plotted on its own SVG canvas stacked vertically. The example demonstrates how to reuse a shared set of D3 3.5.17 API components—including `d3.time.scale`, `d3.scale.linear`, `d3.svg.axis`, and `d3.svg.line`—to build multiple independent graphs on one page. Data is loaded with `d3.csv`, parsed with `d3.time.format`, and rendered as steel-blue paths with annotated axes. Both charts use identical margins, dimensions, and axis configurations, showing a simple way to generate small multiples.

AI-generated description
mit Licensed

Similar vizzes