Skip to main content
100%

Fork of Fork of Activity6_population_question1

✓ Published0🌍 Public
Iibrahimpatnamrohit1990@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024

This example displays a horizontal bar chart of the top 10 most populous countries in the year 2000, using fetched CSV data parsed with `d3.csvParse`. The visualization sorts the data by population and renders bars via SVG `rect` elements, with axes from `d3.axisBottom` and `d3.axisLeft`. It loads D3 from UNPKG and uses a local ES6 module, `fetchData`, to retrieve the dataset from a GitHub raw URL.

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