Box Plot
This box plot visualizes the distribution of sepal length across three iris species: setosa, versicolor, and virginica. Each box displays the quartiles and median, with whiskers extending to the minimum and maximum values, using data from a CSV file loaded via the d3.csv function. The visualization is built with React and rendered as SVG, using d3.scaleBand for the x-axis and d3.scaleLinear for the y-axis. Statistical summaries are computed on the fly using d3.nest, d3.quantile, and d3.rollup, with separate React components handling the boxes, median lines, whiskers, and axes.
AI-generated descriptionA program to plot box plot
Plot is showing min, quantile 1, median,quantile3, max values for sepallength of Setosa, Versicolor, and Viginica Iris data is available here [https://gist.github.com/manasishrotri/ee68ea71a0867091c6dbf96b77d0c63f]
BoxPlot inspired from (d3-graph-gallary)[https://www.d3-graph-gallery.com/graph/boxplot_several_groups.html]