🌍 Public
Viewing a saved revision (read-only)
7de7b3e0aed745ad9b347e02d9ec9a7a
Fork of Fork
This example shows a zoomable bar chart of letter frequencies in the English alphabet, sorted in descending order from most to least common. Users can zoom and pan the view using the d3.zoom behavior, which re-scales the horizontal band scale and updates bar positions and widths dynamically. The chart is rendered with an SVG container, using d3.scaleBand for the x-axis, d3.scaleLinear for the y-axis, and d3.axisBottom and d3.axisLeft for the axes. Data comes from the `alphabet.csv` file.
AI-generated description