Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar chart - I

Public visualization

Bar chart - I

0 stars1🌍 Public
NNita
Last edited Jan 16, 2024
Created on Jan 16, 2024

This bar chart visualizes the range of different EV vehicles, with horizontal bars showing each model's range in miles. Built using D3 v5, it demonstrates a clean, simple bar chart design with a categorical y-axis for vehicle names and a continuous x-axis for the range values. The chart uses `scaleLinear` and `scaleBand` to map the data, `axisBottom` and `axisLeft` for axes, and SVG rectangles for bars. Data is loaded from a CSV file via `d3.csv`, and tooltips provide additional details on hover.

AI-generated description

Interactive Bar Chart

Comments

Sign in to join the discussion.

MIT Licensed