Fork of Fork
✓ Published0🌍 Public
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 descriptionMIT Licensed