Skip to main content
100%

Activity-8_Question-1.1

✓ Published0🌍 Public
Ttharunramula@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

This example displays a horizontal bar chart of country populations for the year 2000, using a dataset loaded via `d3.csv` from a GitHub repository. It renders the visualization as an SVG using React, with bars encoded using `rect` elements. The chart employs D3 scales (`scaleBand` and `scaleLinear`) to map data to coordinates, and includes custom axes built with `AxisBottom` and `AxisLeft` components. Tooltips are provided via SVG `<title>` elements.

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