{"version":"1.0","type":"rich","title":"D3.js Bar Chart","description":"This example analyzes Boston Airbnb listings, showing the number of unique hosts for each bed type in a bar chart and the distribution of cancellation policies among instant-bookable listings in a pie chart. The bar chart uses D3.js v4 with `d3.nest()`, `d3.set()`, `d3.scaleBand()`, and `d3.scaleLinear()` for aggregation and scaling, while the pie chart employs `d3.pie()` and `d3.arc()`. Both charts include hover effects, click alerts, and SVG-based rendering. Data comes from the included `airbnb_new.csv` file.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/0e7724e828274f68a3951a953ca12cb3?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}