{"version":"1.0","type":"rich","title":"Bar Chart in D3 with Diverging Color Scale","description":"This example presents a horizontal bar chart comparing exercise durations, where each bar is colored using a diverging rainbow color scale that encodes the duration value. The chart loads workout data from a CSV file and renders it as SVG using D3.js v7, with a linear x-axis for minutes and a band scale for exercises. The code employs `d3.scaleSequential` with `d3.interpolateRainbow` for coloring, `d3.axisBottom` and `d3.axisLeft` for axes, and the d3-legend library to add a color legend.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/bb8681ac3b16490180cb4314f3490c30?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}