Skip to main content
100%

Fork of Activity6_population_question1

✓ Published3🌍 Public
Cchandrikachowdary867@gmail.com
Last edited Apr 9, 2024
Created on Apr 9, 2024

This example shows a bar chart of the top 10 most populous countries in the year 2000, with bars sorted in descending order and population values on a linear scale. The data is fetched from a GitHub-hosted CSV file, parsed with `d3.csvParse`, and rendered as an SVG using D3 scales (`scaleBand`, `scaleLinear`) and axes (`axisBottom`, `axisLeft`). Bars are colored steelblue and change to orange on hover, with rotating country labels for readability.

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