Skip to main content
100%

ICE6-BAR graph fork Yashwanth with D3.js

✓ Published0🌍 Public
YYashwanth0311
Last edited Mar 21, 2024
Created on Mar 19, 2024

This bar chart visualizes average temperatures for multiple cities, with each city represented by a blue rectangle and the y-axis encoding temperature values. The visualization uses D3.js v5 scales (scaleBand for the x-axis, scaleLinear for the y-axis) alongside React hooks to manage CSV data loading and rendering. Axes are generated using d3.axisBottom and d3.axisLeft, while the temperature data is loaded from a remote CSV file. The chart includes labeled axes for "Cities" and "Temperature," with a 10-unit headroom added to the y-axis maximum for visual spacing.

AI-generated description

A responsive bar chart.

MIT Licensed

Similar vizzes