🌍 Public
Viewing a saved revision (read-only)
0d536e6fc6544845b37b8f960003cec5
Area_Chart
This area chart displays vehicle fuel consumption by vehicle make for the year 2000, with the x-axis showing the make and the y-axis representing fuel consumption in liters per 100 kilometers. The chart uses the D3.js version 6 library, specifically leveraging `d3.csv` to load data from a remote GitHub CSV file, `d3.scaleBand` for the categorical x-axis, `d3.scaleLinear` for the continuous y-axis, and `d3.area` to generate the filled area path. The rendered visualization is an SVG element with labeled axes and a title, styled through attributes set on SVG text elements.
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.