Polished Scatter Plot with Menus on Indian Olympic Athletes Dataset
This interactive scatter plot explores the attributes of Indian Olympic athletes, allowing users to dynamically select which variables to plot on the X and Y axes from dropdown menus. The visualization displays each athlete as an orange circle, with axis labels updating to reflect the chosen attributes. Built with React and D3.js (v5), the code uses `scaleLinear`, `extent`, and `csv` from D3 for data processing and scaling, while custom React components render the SVG axes and marks. The dataset, sourced from Kaggle and loaded via a GitHub URL, is parsed and converted to numeric values before plotting.
AI-generated descriptionA scatter plot visualization of Indian Olympic Athletes' attributes which can be chosen from the dropdown menu. Constructed using vega-lite-api.
The Olympic Athletes Performance data (only Indian Athletes) has been used for this visualization. This dataset contains the Indian Athletes' Olympic Performance Records ever since the games began.
Dataset obtained from Kaggle (subset of this dataset).