Skip to main content
100%

Activity 6

✓ Published1🌍 Public
Ssathvik0311@gmail.com
Last edited Oct 23, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This horizontal bar chart shows population figures for ten countries in the year 2000, with each bar’s length proportional to its population. The visualization uses a linear x-scale and a band y-scale, rendering rectangles in SVG. Data loads from a CSV file via `d3.csv`, and the chart’s axes are generated using `d3.axisBottom` and `d3.axisLeft`. The code demonstrates modular ES6 import structures and D3 v7’s selection and data-binding methods.

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