Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Questio_2

Public visualization

Questio_2

0 stars0🌍 Public
SSiddhartha Alwala
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

A bar chart displays car brands along the y-axis and highway MPG along the x-axis. Each bar’s length encodes the MPG value, while a mouseover tooltip reveals the make, horsepower, torque, and MPG for the hovered brand. The chart loads CSV data via `d3.csv`, uses `d3.scaleBand` for the categorical axis and `d3.scaleLinear` for the continuous axis, and renders with SVG. Axes are drawn with `d3.axisBottom` and `d3.axisLeft`.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.

Comments

Sign in to join the discussion.

MIT Licensed