Skip to main content
100%

Gráfico de Dispersão (scatter plot) com Menus

✓ Published1🌍 Public
AAlan Santos
Last edited Jun 6, 2022
Created on Jun 6, 2022

This interactive scatter plot uses React and D3 v7 to visualize the Iris flower dataset, with dropdown menus for selecting which numeric attributes (sepal length, sepal width, petal length, or petal width) map to the x- and y-axes. The code scales the data with `d3.scaleLinear` and `d3.extent`, renders axes as SVG groups, and draws circle marks with native `<title>` tooltips. The data loads from a CSV via `d3.csv` and the view updates reactively through `useState` and component re-rendering.

AI-generated description

Programa que mostra os 10 países mais populosos atraves do grafico de barras e axes

Dados:Perpectiva da Nações Unidas da População 2019

MIT Licensed

Similar vizzes