Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

question-4

Public visualization

question-4

0 stars0🌍 Public
Ggoudrohit2000@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Activity4

A bubble chart visualizes the relationship between vehicle speed, capacity, and energy source for various transportation modes. Each circle’s position encodes speed on the x-axis and capacity on the y-axis, while its radius scales with capacity and its color distinguishes energy source categories like Electric, Diesel, or Gasoline. Hovering reveals a tooltip with the mode, speed, and capacity. The chart uses d3.csv to load data, d3.scaleLinear for axes and bubble size, d3.scaleOrdinal with d3.schemeCategory10 for colors, and d3.axisBottom/Left for ticks.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed