Hourly energy demand generation
✓ Published0🌍 Public
This visualization displays hourly energy demand and generation data for Spain across four years, with a table rendering the raw CSV content for inspection. The code fetches the dataset, parses it using `d3.csvParse`, and stores the parsed rows in application state. Each update triggers a re-render through the `viz` function, which uses D3’s `select` and `join` methods to display the data as JSON-formatted text within a `<pre>` element, driven by a simple state management loop.
AI-generated descriptionThis dataset contains 4 years of electrical consumption, generation, pricing, and weather data for Spain
Link: https://www.kaggle.com/datasets/nicholasjhana/energy-consumption-generation-prices-and-weather
MIT Licensed