Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Anv_ICE-6 Bar Graph

Public visualization

Anv_ICE-6 Bar Graph

0 stars3🌍 Public
AAnvesh Chinta
Last edited Mar 23, 2023
Created on Mar 22, 2023

This bar chart displays the number of motorcycle models produced by each brand in India, based on CSV data fetched from a GitHub gist. The visualization uses React to manage state and render the SVG, while D3 v5 handles data loading, scales, and axes. Horizontal bars are drawn using D3’s `scaleBand` for the categorical brands and `scaleLinear` for the model counts, with gridlines and labeled axes. The code also incorporates custom padding and a title, presenting the data in a clean, readable layout.

AI-generated description

A whole smiley face

Comments

Sign in to join the discussion.

MIT Licensed