Skip to main content
100%

Activity 6 Q1.1

✓ Published1🌍 Public
Ssharanyabobbala@my.unt.edu
Last edited Oct 23, 2024
Created on Oct 19, 2024
Forked from Hello VizHub

This horizontal bar chart displays the populations of ten countries for the year 2010. The visualization, built with React and D3 v5, renders as an SVG. It uses `d3.scaleBand` and `d3.scaleLinear` to map categorical and quantitative data, while the `d3.csv` function loads the dataset from a remote gist. The custom `AxisBottom`, `AxisLeft`, and `Marks` components define the blue tick lines, gray labels, and green bars, and a tooltip shows the formatted population value via `<title>`.

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