Skip to main content
100%

Activity 6_Q1.2

✓ Published0🌍 Public
Kkeerthana11.mcs@gmail.com
Last edited Oct 24, 2024
Created on Oct 24, 2024
Forked from Activity 6_Q1.1

This bar chart displays the population of 20 countries in 2010, with countries listed along the vertical axis and population values extending horizontally. The visualization uses React and D3 v5, employing `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. Population data is loaded via `d3.csv` from a GitHub-hosted CSV and rendered as SVG rectangles. Axis components and marks are built as separate ES6 modules, with tick labels formatted using `d3.format`.

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