Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

bhavya

Public visualization

Viewing a saved revision (read-only)

e06095a9c72541c181390cada21266a6

bhavya

0 stars0🌍 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