{"version":"1.0","type":"rich","title":"Multiple Views in a Single SVG","description":"This example shows how to place multiple visualizations side by side within a single SVG, comparing the same daily air temperature dataset across different chart types. The left half displays a multi-line chart where each year is a colored line, with 2024 highlighted in red and thicker, while the right half reuses the same rendering logic in a separate group translated horizontally. The code uses d3’s `scaleLinear`, `scaleSequential`, `flatGroup`, and `line` generators, along with `observeResize` from `@curran/responsive-axes` to handle responsive dimensions. Data comes from the `@curran/daily-surface-air-temperature` package, and colors are mapped via `interpolatePlasma`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d1f43d10dd2045eaae67c6f61ab68685?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}