🌍 Public
Viewing a saved revision (read-only)
0a8be8a8ef124dbebcbf607d4ad7b371
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