Skip to main content
100%

Activity 7

✓ Published1🌍 Public
VVarshareddy2912
Last edited Jul 5, 2023
Created on Jul 5, 2023
Forked from Hello VizHub

This bar chart displays the 2010 populations of the top ten countries. Built with React and D3 v5, the visualization uses `scaleBand` and `scaleLinear` for axes, with data loaded via `csv` from a GitHub dataset. Each green bar is an SVG `rect`, rendered through React components like `Marks`, `AxisBottom`, and `AxisLeft`, with axis tick values formatted using D3's `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