🌍 Public
Viewing a saved revision (read-only)
a932b417a31347bf86a8e35373c3b3b7
Fork of ICE-7(Line Chart)
This example visualizes India's GDP over time using a line chart, with the x-axis mapping years and the y-axis representing GDP values. The chart includes labeled axes, a title, and gridlines to aid readability. Built with React and D3 v5, it loads CSV data from a GitHub gist via `d3.csv`, then uses `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` to construct the SVG rendering. The code applies custom CSS for styling, including tick labels, axis colors, and the indigo stroke of the line path.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.