Skip to main content
Public

Share visualization

Loading preview…

Line chart

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Line chart

3
MMahesh
Last edited Apr 2, 2025
Created on Apr 1, 2025

This line chart visualizes population growth in India from 1950 to 2024, with the x-axis showing years and the y-axis displaying the population growth rate. The visualization uses D3.js v7 to load CSV data from a GitHub gist, then constructs an SVG chart with linear scales, gridlines, and axis labels. The line path is generated with `d3.line()` and a monotone x curve, while axis formatting applies comma separators to large numbers. Styled with a dark red stroke on a white background, the chart includes dashed gridlines and a rotated y-axis label for clarity.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed