Skip to main content
100%

Fork of Activity 7 new

✓ Published0🌍 Public
UUmarani Vemula
Last edited Jul 8, 2023
Created on Jul 8, 2023
Forked from Activity 7

This bar chart displays the land use in square meters for ten food types in 2017, from beef and mutton down to pulses. The visualization uses React components with D3 v5 scales and axes, rendering SVG rectangles whose widths are proportional to the land use values. Data is loaded via `csv` from a gist, with values parsed and formatted using `scaleLinear`, `scaleBand`, and `format`. Hovering shows the exact value via a native SVG `<title>` tooltip.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes