[basic chart] line chart (d3 v4)
✓ Published0🌍 Public
EEnzoTheBrown
Last edited Dec 3, 2016
Created on Mar 14, 2018
This example shows a multi-line chart with four time-series categories (a, b, c, d) plotted over dates in early 2016, using D3 v4’s `d3.scaleTime` for the x-axis and `d3.scaleLinear` for the y-axis. It renders SVG paths via `d3.line` and `d3.axisBottom`/`d3.axisLeft` for axes, with colors from `d3.scaleOrdinal(d3.schemeCategory10)`. The data is hardcoded as an array of objects, and the chart is drawn inside a 960×300 SVG with margins. No interactivity is included.
AI-generated descriptionBuilt with blockbuilder.org
mit Licensed