Customizing Axes
✓ Published1🌍 Public
This example shows a bar chart of employment numbers across occupations in New York City, with interactive year buttons (2010–2019) that update the displayed data. The visualization uses d3.v6 with SVG rendering and animation. Axes are customized using `d3.axisLeft` and `d3.axisBottom`, with a linear scale for the x-axis and a band scale for the y-axis. Clicking a year button triggers a redraw of the chart via inline CSV data, highlighting the selected year in blue.
AI-generated descriptionMIT Licensed