Skip to main content
100%

bhavya

✓ Published0🌍 Public
Bbhavyapokuri123@gmail.com
Last edited Mar 21, 2024
Created on Mar 21, 2024
Forked from bar grapgh

This visualization shows the total number of hotel bookings aggregated by state, displayed as a bar chart with a categorical color legend. It uses d3.csv to load data from a GitHub-hosted CSV file, then d3.rollup to sum bookings per state. The chart employs d3.scaleBand for the x-axis, d3.scaleLinear for the y-axis, and d3.scaleOrdinal with d3.schemeCategory10 for bar colors, with axes rendered using d3.axisBottom and d3.axisLeft.

AI-generated description

D3 Hierarchies

MIT Licensed

Similar vizzes