{"version":"1.0","type":"rich","title":"Scatter Plot and Bar Chart","description":"This example presents two linked visualizations of country-level data: a scatter plot mapping population (2022) against population density, and a bar chart showing the same population values per country. Both charts use D3.js v7, loaded via UNPKG, and render as SVGs within separate container divs. The code employs `d3.csv` to fetch remote CSV data, then builds the visuals with `d3.select`, `d3.scaleLinear`, `d3.scaleBand`, `d3.axisBottom`, `d3.axisLeft`, and `d3.extent`. Interactive tooltips appear on mouseover for scatter points, using a positioned HTML div to display country, population, and density values.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7df4c3a5a7fa4d8d909ea9a05d6c7cf5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}