Line Chart
✓ Published0🌍 Public
This example uses a line chart to show the sales of a company over time, with years on the x-axis and sales values on the y-axis. The visualization includes labeled axes, a title, and a red line path. Built with React and D3 v5, it loads CSV data from a GitHub Gist and renders the chart as SVG. The code uses `d3.scaleTime`, `d3.scaleLinear`, `d3.axisBottom`, `d3.axisLeft`, and `d3.line` to map the data to visual elements.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed