Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

test10

Public visualization

Viewing a saved revision (read-only)

68dc65362bc04af59d2cf38e568b7782

test10

0 stars0🌍 Public
Aamulyabhagwat1999@gmail.com
Last edited Jul 11, 2024
Created on Jul 11, 2024
Forked from Hello VizHub

This area chart displays population trends for multiple countries over time, with each country represented by a colored filled area and a corresponding legend. The visualization is built using D3.js, specifically employing `d3.scaleTime`, `d3.scaleLinear`, `d3.area`, and `d3.axisBottom`/`d3.axisLeft` for rendering. Population data is fetched from a CSV file and processed into date-value pairs, while the color scale uses `d3.scaleOrdinal` with `schemeCategory10`. The chart is rendered as an SVG with customizable dimensions and margins.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.