Fork of Responsive Axes with Crosshair (SSP)
✓ Published1🌍 Public
This scatterplot displays Pokemon Attack and Defense stats, with points colored by generation and a hoverable crosshair that tracks the mouse position. The visualization uses SVG rendering with D3.js scales and axes, and implements responsive tick mark density via `axisBottom` and `axisLeft` with computed tick counts based on container dimensions. Data comes from a CSV file containing Pokemon attributes, and the code uses ResizeObserver to adapt the chart to resizing windows.
AI-generated descriptionA viz container with responsive axes that have consistent tick mark density. Try opening in full screen mode and resizing!
Challenge
- Use this technique to make the axes on your viz responsive
MIT Licensed