Skip to main content
100%

Activity 6_task1

✓ Published0🌍 Public
Vvishu.valandas@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Activity 6

This bar chart displays the population of ten countries in the year 2000. The visualization uses React with D3 v5 to load CSV data from a GitHub repository, scale the bars using `scaleBand` and `scaleLinear`, and render the chart as SVG. The code defines custom `AxisBottom`, `AxisLeft`, and `Marks` components to draw axes and rectangles, with tooltips formatted using D3's `format`. The chart includes a labeled x-axis and uses a Poppins font.

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