HYDRO ENERGY GENERATION
✓ Published0🌍 Public
This visualization displays global hydro energy generation (in Terawatt-hours) across multiple years, using a smooth blue line plot to trace the trend over time. The chart renders as an SVG using D3 v5, explicitly importing functions like `scaleLinear`, `axisBottom`, `axisLeft`, and `line` with a `curveBasis` smoothing applied. Data is loaded from a GitHub gist CSV via `csv()`, with numeric fields parsed before drawing. The visualization includes labeled axes for “Year” and “Hydro_TWh,” plus a title, all styled through an external CSS file that sets the line’s blue color and stroke width.
AI-generated descriptionThis line chart shows one week of temperature (in degrees Celcius) in San Francisco. The data comes from Data Canvas - Sense Your City.
Made in this video:
MIT Licensed