Skip to main content
100%

Box Plot of Power and Class of Orbit

✓ Published1🌍 Public
Vvryvarma5577@gmail.com
Last edited Apr 9, 2023
Created on Apr 9, 2023
Forked from Box Plot

This interactive bar chart displays the distribution of satellite power (in watts) across different orbit classes. The visualization uses a box plot for each orbit category, showing the minimum, first quartile, median, third quartile, and maximum values. The code leverages d3’s `nest`, `quantile`, `scaleBand`, and `scaleLinear` functions to compute statistics and map data to SVG coordinates. Built with React and D3 v5, it renders directly to SVG elements, drawing box rectangles, center lines, and whisker caps using custom components like `Box`, `CenterLine`, and `UpLine`. The dataset is loaded from a Gist CSV file, and the y-axis is inverted to start from zero.

AI-generated description

A 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]

MIT Licensed

Similar vizzes