Skip to main content
100%

ICE6

✓ Published0🌍 Public
Hharika-1929
Last edited Jun 25, 2022
Created on Jun 25, 2022

A horizontal bar chart displays the top ten countries in the 2019 World Population dataset, with each bar's length proportional to population and country labels on the y-axis. The visualization is built with React, using D3's `scaleBand` and `scaleLinear` to map data to SVG rectangles within a responsive `<svg>` container. Axes and tick marks are generated via D3's `axisLeft` and `axisBottom` functions, styled with CSS. The chart updates asynchronously after fetching and parsing the CSV via `d3.csv`.

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