Skip to main content
100%

Task8_DataViz

✓ Published0🌍 Public
Iikshwakalluri
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

This visualization displays population figures for countries in 2010 using a horizontal bar chart. The chart uses React to render SVG elements, with D3 v5 providing scales and formatting. D3’s `scaleBand` and `scaleLinear` position the bars, while custom `AxisBottom` and `AxisLeft` components create labeled ticks. Data is loaded from a CSV file via D3’s `csv` method, and each bar includes a tooltip showing the formatted population value.

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