shapes d3.line
✓ Published0🌍 Public
DDanielAguirre
Last edited Oct 7, 2017
Created on Oct 7, 2017
A simple SVG line chart plots six date-value pairs from a hard-coded array. The code uses the `d3.line` generator to create a path, setting the x-accessor to the `date` property and the y-accessor to the `value` property. It appends the resulting path to an empty `<svg>` element via `d3.select`. Because no scales or axes are defined, the raw date and value numbers are used directly as pixel coordinates, producing a minimal—and likely misshapen—line visualization.
AI-generated descriptionBuilt with blockbuilder.org
mit Licensed