Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
NNikithakatta30
Last edited May 7, 2023
Created on May 7, 2023

A scatter plot displays football player statistics across six attributes (ARG, BRA, ESP, FRA, GER, ITA) from a FIFA dataset. Two dropdown menus let viewers independently select which attribute appears on the x- and y-axes, with react state managing the selection. The code uses d3.scaleLinear for scales, d3.extent for domains, and d3.csv to load data, rendering circles as SVG marks with tooltips via the title element. Axis components generate ticks with tick formatting using d3.format.

AI-generated description

A scatter plot with menus of The fifa Dataset.

MIT Licensed

Similar vizzes