Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

area chart_bhavya

Public visualization

area chart_bhavya

0 stars0🌍 Public
Bbhavyapokuri123@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024

This area chart displays the yearly average number of hotel bookings, using a light blue-green filled area with a darker stroke to emphasize the trend over time. The visualization is built with D3 v5, using `d3.scaleBand` for the categorical x-axis of years, `d3.scaleLinear` for the y-axis of booking counts, and the `d3.area()` generator to create the filled path. Data is loaded from a CSV file hosted on GitHub, and the SVG rendering includes labeled axes and a title, with the area’s base anchored at the bottom of the chart.

AI-generated description

combined line and area charts

Comments

Sign in to join the discussion.

MIT Licensed