{"version":"1.0","type":"rich","title":"Hourly energy demand generation","description":"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.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/8f035c80f2d64ceca5eb1e61055dbe2b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}