{"version":"1.0","type":"rich","title":"Idempotent Reusable Barchart 101 with Lines","description":"A reusable, idempotent bar chart with an overlaid line encodes the proportion of single-detached houses in Canada from 1986 to 2021. Built with D3 v7, it uses `scaleBand` for the year categories, `scaleLinear` for percentages, and `axisLeft` with tick lines for the grid. The chart renders as SVG, with teal bars and a maroon line generated via `line()`. The reusable component pattern exposes setters for data, dimensions, margins, labels, and title, allowing the chart to be called on a new selection each time.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f7a01e63677e4dc7a1101a80ed96de07?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}