Skip to main content
100%

Task1Ques1

✓ Published0🌍 Public
IIkram Mohammed
Last edited Oct 20, 2024
Created on Oct 20, 2024
Forked from task1

This visualization displays the population of ten countries in the year 2000 using a horizontal bar chart. The chart uses React with D3.js for data processing and scales, rendering SVG elements through the reusable AxisBottom, AxisLeft, and Marks components. Population values are parsed from a CSV file using D3’s `csv` function, formatted using `d3.format`, and displayed as green bars with tooltips, while the y-axis lists country names and the x-axis uses a custom tick 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