Skip to main content
100%

Assignment2_Barchart

✓ Published0🌍 Public
Aaniteshterala2000
Last edited Jul 22, 2023
Created on Jul 22, 2023
Forked from Hello VizHub

This example shows a horizontal bar chart displaying the number of users for various applications, sorted by the first 50 entries from a CSV dataset hosted on GitHub. The bars render through React components that leverage D3 v5’s `scaleBand`, `scaleLinear`, and `max` functions to compute positions and dimensions, with SVG `rect` elements for each mark. Custom `AxisBottom` and `AxisLeft` components generate tick lines and labels, while a `title` element inside each rectangle provides a native tooltip in the browser.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes