Fork of Bar Char in D3
✓ Published0🌍 Public
This bar chart visualizes the relationship between inherited type and average total worth for billionaires, using a dataset loaded from a GitHub gist via `d3.csv`. The visualization employs `d3.scaleBand` for the categorical X-axis and `d3.scaleLinear` for the numeric Y-axis, rendering bars as SVG rectangles. Hovering changes bar color from steel blue to orange, and axes are styled with custom CSS. The chart updates its height based on the maximum value in the data, with a tidy layout defined by explicit margins.
AI-generated descriptionMIT Licensed