Skip to main content
100%

Activity6_Question1.1

✓ Published1🌍 Public
Aalapati98@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Hello VizHub

This bar chart displays the population of ten countries for the year 2000, sorted with a horizontal layout. Built with the React framework and D3 v5, it uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, rendering SVG rectangles via the `Marks.js` component. Data is loaded asynchronously from a CSV file using D3's `csv` function, with tick formatting converting values to a compact "B" (billions) notation.

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