Skip to main content
Public

Share visualization

Loading preview…

linechart_ice7

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

linechart_ice7

1
Ssaijahnaviappineni
Last edited Jul 1, 2022
Created on Jul 1, 2022

This line chart visualizes the population of Krishna district from 1901 to 2011, with time on the x-axis and population count on the y-axis. It uses D3 v5's `scaleTime`, `scaleLinear`, `axisBottom`, and `axisLeft` to build the axes and the `line` generator to create the path. Data is loaded from a remote CSV via `csv`, and the year is parsed with `timeParse`. The SVG rendering includes grid lines, axis labels, and a violet stroke for the trend line, styled via CSS.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed