{"version":"1.0","type":"rich","title":"Bar chart with D3.js","description":"This bar chart displays the distribution of car colors as percentages, using a dataset from a GitHub gist. Built with D3.js v5 in a React component, it renders as an SVG with animated bar interactions. The `d3.scaleBand` and `d3.scaleLinear` functions handle the axes, while `d3.axisBottom` and `d3.axisLeft` create the ticks. Hovering over a bar triggers a transition that highlights the bar and draws a red dashed line, showing the hovered value’s position, with divergence text displayed via `d3.selectAll` and `.transition()`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/0019a1ac5b804a33991c38e4d0d0bc64?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}