{"version":"1.0","type":"rich","title":"Properly working radio button","description":"This visualization displays the total value of steel scrap imports or exports for various countries, using a treemap where each rectangle represents a country and its area corresponds to the monetary value. Users toggle between Import and Export data via radio buttons, which filters the dataset and re-renders the treemap with a light-to-dark blue color scale. The visualization uses D3.js version 7 with the `d3.treemap`, `d3.hierarchy`, and `d3.scaleSequential` APIs to build the interactive SVG graphic, reading data from a CSV file. The code also includes a reset button to restore the initial view, though the drill-down behavior on rectangle click is only partially implemented.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/087dcf95585e4f45b4cbbad5a7d45fb2?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}