Skip to main content
100%

Activity6_population_Q1.1

✓ Published3🌍 Public
PPothuguntla Pranitha
Last edited Apr 14, 2024
Created on Apr 12, 2024

A horizontal bar chart displays the population of ten countries in the year 2000, sorted alphabetically by country name. It uses React components for the SVG rendering, with D3 v5 scales (`scaleBand` and `scaleLinear`) for positioning bars and axes. Data is loaded from a CSV file using D3’s `csv` method, and population values are formatted with `d3.format` for tick labels. The chart includes axis labels for country name and population.

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