Skip to main content
100%

A4 Bar Chart

✓ Published0🌍 Public
Ddonaldminer
Last edited Feb 26, 2022
Created on Feb 22, 2022
Forked from HTML Starter

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes