Skip to main content
100%

Activity_6_question_1.1

✓ Published0🌍 Public
11810vineeth@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

A horizontal bar chart displays the populations of ten countries in the year 2000, sourced from a CSV file. The visualization uses React with D3 v5, employing `scaleBand` and `scaleLinear` for positioning. SVG rectangles render the bars, with axes generated through custom `AxisBottom` and `AxisLeft` components. The x-axis labels are formatted using D3's `format` function to abbreviate numbers, and each bar includes a native SVG `<title>` element for tooltips.

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