Activity6_Q4
✓ Published0🌍 Public
A bubble chart displays foreign exchange rates for multiple countries across two years (2016 and 2017), using bubble size and color to encode the exchange rate values along a categorical x-axis and a linear y-axis. The D3 v7 application imports data from a CSV file, sorts it by rate, and renders an SVG with axes, labels, and interactive tooltips. It uses `d3.scalePoint`, `d3.scaleLinear`, `d3.scaleOrdinal`, and `d3.schemeCategory10` for positioning, sizing, and coloring, with mouse events (`mouseover`, `mousemove`, `mouseleave`) showing detailed tooltip information.
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