Skip to main content
100%

activity 6_Task 1

✓ Published0🌍 Public
CChaitanya Ratan Sree
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This bar chart displays the population of 20 countries in 2010, ordered by country name. Built with React and rendered as an SVG, it uses D3 v5 scales and axes: a linear scale for population and a band scale for countries. The chart applies custom tick formatting, converting values like '1.2G' to '1.2B', and includes tooltips on each bar. Data loads from a remote CSV via D3's `csv` function.

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