Skip to main content
100%

Untitled

✓ Published0🌍 Public
AAshrith Kudidhi
Last edited Jul 7, 2022
Created on Jul 7, 2022
Forked from Hello VizHub

This example visualizes the average price per head at restaurants in Hyderabad, India, using a bar chart rendered as SVG with D3 v4. The chart displays restaurant names on the x-axis and prices on the y-axis, with bars animating into place. Hovering over a bar highlights it in orange and displays its price, using the `d3.select`, `d3.scaleBand`, and `d3.scaleLinear` APIs along with D3 transitions. The data is loaded from a remote CSV file, and the chart includes labeled axes and gridlines.

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.
MIT Licensed

Similar vizzes