Skip to main content
Public

Share visualization

Loading preview…

Fork of Anv_ICE-6 Bar Graph

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 Anv_ICE-6 Bar Graph

0
NNanditha Reddy
Last edited Mar 20, 2024
Created on Mar 20, 2024

This example visualizes the distribution of motorcycle models across brands in India using a horizontal bar chart. The chart displays the count of models for each brand, with bars scaled proportionally to the data. The visualization is built with React and D3 v5, using `scaleBand` and `scaleLinear` to position and size the bars. Data is loaded from a CSV file and processed by counting occurrences of each brand. The chart includes labeled axes for brand names and model counts, along with gridlines for readability, all rendered as SVG elements.

AI-generated description

A whole smiley face

Comments

Sign in to join the discussion.

MIT Licensed