zoom comparson
This visualization displays a scatter plot of Nike manufacturing factories, with each circle representing a factory, colored by product type, and positioned by total workers versus line workers. Users can brush-select a horizontal region on the plot to zoom the x-axis domain, with a double-click resetting the view. The chart uses d3.brush for interactive selection, d3.scaleLinear for axes, and d3.scaleOrdinal with schemeCategory10 for colors, all rendered as SVG with animated transitions on the x-axis and circle positions. Data comes from a CSV file of Nike’s global manufacturing statistics.
AI-generated descriptionThis visualization shows Nike Global Manufacturing Data Export. It visualizes the total number of workers vs the number of line workers across Nike manufacturing factories all over the world. Each circle represents a Nike manufacturing factory and colors associated with circles indicate types of products manufactured by the factory. Users can select any portion of the scatter plot to zoom in and double-click to zoom out of the plot.
This plot uses brushing with d3.js.
Reference: Brushing in d3.js