Skip to main content
Public

Share visualization

Loading preview…

Area Chart of Uk Population

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

Area Chart of Uk Population

11
VVenkat-Dhulipalla
Last edited Mar 25, 2023
Created on Mar 25, 2023

This area chart displays the population of the United Kingdom from 2010 to 2023, with the line and filled region clearly showing growth trends over time. The visualization is built using D3.js v5, with data loaded from a CSV file and rendered as SVG elements. It employs D3's `scaleLinear` and `scaleTime` for axis scaling, along with `area()` and `line()` generators to create the chart. The code also uses `axisLeft` and `axisBottom` for labeled axes, with a custom tick format for thousands.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed