Skip to main content
100%

Activity 8_Task 1 Tutorial

✓ Published0🌍 Public
UUthkarsh Reddy Junuthula
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Activity 8_Q1.1

A horizontal bar chart displays the 2020 population estimates for thirty countries, ranked along a categorical y-axis and scaled linearly on the x-axis. Built with React and D3 v5, the visualization loads CSV data via `d3.csv`, uses `scaleBand` and `scaleLinear` for positioning, and renders SVG rectangles styled with CSS. Native SVG `<title>` elements provide tooltips, while custom tick components format axis labels with `d3.format`.

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