Fork of Fork of Fork of Bar Chart + Axis customisation
✓ Published0🌍 Public
Ggaddamthanmayeereddy759@gmail.com
Last edited Mar 19, 2024
Created on Mar 15, 2024
Forked from Fork of Fork of Bar Chart + Axis customisation
The visualization displays a horizontal bar chart comparing movie budgets, sorted by film title, with custom axes and a gradient fill ranging from green to orange. It uses d3.csv to load budget data, d3.scaleBand for the categorical y-axis, d3.scaleLinear for the numeric x-axis, and d3.axisLeft and d3.axisBottom with custom tick formatting to abbreviate values (e.g., "45M"). A rotated y-axis label and a blue title are added via SVG text elements. The code customizes axis appearance by removing domain and tick lines, and applies gradients through SVG defs.
AI-generated descriptionMIT Licensed