Skip to main content
Public

Share visualization

Loading preview…

Fork of ICE-6 Bar Graph Prathyusha

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of ICE-6 Bar Graph Prathyusha

0
Pprathyusha-reddy-arch
Last edited Mar 23, 2023
Created on Mar 22, 2023

This bar chart visualizes hotel booking costs across 12 destinations, using a horizontal layout where bar length encodes the price per 24 hours from a CSV dataset. The React component loads data via D3’s `csv` function, then renders SVG rectangles scaled by `scaleLinear` for cost and `scaleBand` for place names. Grid lines and axis labels are manually generated using D3’s `axisBottom` and custom tick mappings, with red vertical lines marking each cost increment.

AI-generated description

A whole smiley face

Comments

Sign in to join the discussion.

MIT Licensed