Skip to main content
100%

ICE-6

✓ Published0🌍 Public
AAshrith Kudidhi
Last edited Jun 26, 2022
Created on Jun 26, 2022
Forked from Hello VizHub

This example displays a horizontal bar chart of the ten least populated U.S. states, filtered from a CSV dataset. The chart uses a React component with D3.js v5 helper functions like `scaleBand` and `scaleLinear` to map state names and population values to SVG rectangles. Axes are rendered using D3 `ticks`, and the SVG output includes green grid lines. The data is loaded asynchronously via D3’s `csv` function.

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