Fork of Fork of Hello VizHub
✓ Published1🌍 Public
This example visualizes the relationship between horsepower, torque, and highway MPG for various car makes. A bubble chart uses x- and y-axes for horsepower and torque, while bubble size and color encode MPG and car brand, respectively. Built with D3 v5 and SVG, it reads data from a local CSV file, employs d3.scaleLinear for axes and bubble sizing, uses d3.scaleOrdinal with d3.interpolateTurbo for color mapping, and includes interactive tooltips on mouseover. Animated transitions handle tooltip fading.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed