Fork of ICE-6 Bar charts: Done with the help of D3
✓ Published1🌍 Public
TTulluripallavi
Last edited Mar 6, 2022
Created on Mar 6, 2022
This visualization displays information about book sales, presenting a horizontal bar chart that compares the population values for different book categories. The chart uses React with a functional component and the `useState` and `useEffect` hooks to load and process data from a CSV file. D3 v5 functions such as `csv`, `scaleBand`, `scaleLinear`, and `max` are used to parse the data, create the scales, and render the SVG elements, with rectangle widths encoding the data values.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed