ICE-7 Line Chart
✓ Published0🌍 Public
This example shows the average home cost over time as an orange line chart, with years on the x-axis and price on the y-axis, including axis labels and a title. It uses React with D3 v5 to load CSV data from a GitHub gist, parse the year and cost fields, and render the visualization as SVG. The code applies `scaleTime` and `scaleLinear` for scaling, `axisBottom` and `axisLeft` for the axes, and a `line` generator to draw the path, with green gridlines and a blue title.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed