Polished Interaktivt Visualisering
This interactive scatter plot visualizes the Iris dataset, allowing exploration of relationships between sepal and petal measurements. Users can select which attribute maps to the X and Y axes via dropdown menus, with the corresponding axis labels and scales updating dynamically. The visualization uses React for state management and rendering SVG circles, with D3’s `scaleLinear`, `extent`, and `format` APIs handling scaling, domain calculation, and tick formatting. Axis ticks and labels are generated with `AxisBottom` and `AxisLeft`, while hover tooltips display values formatted with the `siFormat` function.
AI-generated descriptionFørste øvelse i AI og Data kursusgang 7 [Iris data set] (https://gist.githubusercontent.com/curran/a08a1080b88344b0c8a7/raw/0e7a9b0a5d22642a06d3d5b9bcbad9890c8ee534/iris.csv)