Class: Line Graph
✓ Published0🌍 Public
VVirginiaHNg
Last edited Jun 27, 2017
Created on Jun 27, 2017
A smooth line graph plots five points from a hardcoded dataset, connecting them with a curved basis spline. The visualization uses D3 v4’s `d3.line` generator with `d3.curveBasis`, mapping the x- and y-coordinates through `d3.scaleLinear` domains of 0–100 to an SVG canvas sized 960×500. The single path element receives its `d` attribute from the generated line data, rendered with a grey stroke of width 5 and no fill.
AI-generated descriptionBuilt with blockbuilder.org
mit Licensed