🌍 Public
Viewing a saved revision (read-only)
f6423d77b24f428ba188b2c7eaaece84
Project
This visualization tracks annual inflation rates across countries from 1980 to 2024 using a multi-line chart. It displays each country’s inflation trajectory as a distinct colored line, with a continuously updating x-axis representing time and a y-axis showing percentage rates. The primary view uses d3.csv to load globalInflation.csv, then transforms the wide data into a long format for rendering with d3.line and d3.scaleTime. A secondary script focuses specifically on India’s data, adding red data points with d3.scaleLinear and d3.axisBottom to highlight its trends.
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.