Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of React & D3 Starter

Public visualization

Fork of React & D3 Starter

0 stars0🌍 Public
Rrevanthdasari10@gmail.com
Last edited Mar 29, 2026
Created on Mar 29, 2026
Forked from React & D3 Starter

This example demonstrates population growth in India from 1960 to 2020 with a blue area chart and a three-pixel-wide line overlay. Built with React and D3 v7, the chart uses `d3.scaleLinear` for both axes and `d3.area` to generate the filled path. SVG rendering is used, with axes created via `d3.axisBottom` and `d3.axisLeft`, and standard D3 selectors append the visualization to the root element. The data is a small inline array of year-population pairs.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed