A4 Bar Chart
✓ Published0🌍 Public
This example visualizes the number of inedible mushrooms across various families using a horizontal bar chart. The chart is rendered with SVG and leverages D3 v6’s `d3.csv`, `d3.rollups`, and scale functions like `d3.scaleLinear` and `d3.scaleBand`. Data is loaded from a CSV file hosted on GitHub, and the code filters counts for poisonous classes before mapping them to bar widths. The chart includes axes generated by `d3.axisBottom` and `d3.axisLeft`, with bars styled in a green fill.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed