bhavya
✓ Published0🌍 Public
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 descriptionD3 Hierarchies
MIT Licensed