{"version":"1.0","type":"rich","title":"Fork of DataViz Meetup HH: KP Brehmer","description":"This visualization reimagines KP Brehmer’s flag as a horizontal stacked bar chart, where three colored rectangles represent the percentage of wealth held by the upper, middle, and lower classes in Germany. The code uses `d3.select` and `.join` to create and update an SVG, computing each rectangle’s width from the data percentages and tracking cumulative x-offsets. The implementation relies on D3’s `attr` method to set dimensions and fills, with the German flag colors encoded in the dataset.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/46538339fe8243958087ce4302f8bff7?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}