Skip to main content
100%

Fork of ICE-7(Line Chart)

✓ Published0🌍 Public
Pprachow
Last edited Mar 12, 2023
Created on Mar 12, 2023
Forked from 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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes