Making a Bar Chart
This horizontal bar chart compares movie budgets against titles, with a color gradient from IndianRed to red indicating budget magnitude. Hovering over a bar displays the movie title, budget, and IMDb score in a separate HTML div using mouseover events. The visualization animates bar widths when clicking a circular button, toggling between full and zero widths with d3 transitions. It uses d3.csv to load data, d3.scaleLinear for both x-axis and color encoding, d3.scaleBand for categorical y-axis placement, and d3.axisLeft/axisBottom for axis rendering.