Skip to main content
100%

Activity 6_Q 1.1

✓ Published0🌍 Public
MMannava Priyanka Chowdary
Last edited Oct 22, 2024
Created on Oct 21, 2024
Forked from Hello VizHub

This example presents a horizontal bar chart ranking the ten most populous countries in the year 2000, sourced from a CSV file of global population data. Using D3 v5, it loads the data via `d3.csv`, scales the bars with `scaleLinear` and `scaleBand`, and renders the visualization as SVG elements. The chart includes customized axes with tick formatting and labeled titles, with bars sorted by population in descending order to highlight country rankings.

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.
MIT Licensed

Similar vizzes