Skip to main content
100%

Sathvi Vizhub

✓ Published0🌍 Public
SSathviKankanala@my.unt.edu
Last edited Oct 7, 2025
Created on Oct 7, 2025
Forked from D3 Starter

This bar chart shows the average weight and vitamin C content for a collection of fruits, with a summary line displaying totals and means. Each bar is colored according to the fruit’s assigned color. The visualization loads CSV data via `d3.csv`, scales the categorical fruit names and linear weight values using `d3.scaleBand` and `d3.scaleLinear`, and renders SVG rectangles with axes generated by `d3.axisBottom` and `d3.axisLeft`. Labels are rotated for readability, and the chart is styled with CSS.

AI-generated description
MIT Licensed

Similar vizzes