Skip to main content
100%

Activity6 Q1.1

✓ Published0🌍 Public
Vvishnutejareddyambati@my.unt.edu
Last edited Oct 26, 2024
Created on Oct 26, 2024
Forked from D3 Starter

This example shows a horizontal bar chart of population data for ten countries from the year 2000, sourced from a CSV file. The chart uses the React framework to render SVG elements, with D3’s `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. It employs `AxisBottom` and `AxisLeft` components to draw the axes, while the `Marks` component generates the bars. Hovering over a bar displays the population value via a tooltip, formatted using D3’s `format` function.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes