This is a basic report showcasing multiple interactive plots for a dataset of inner solar system bodies sourced from the Jet Propulsion Lab's small body database search engine. It contains information on around 18,000 asteroids and comets with a radius of 2km or more.
The data is loaded from csv, then the figures below have been generated from a static declaration to give a shared view into the data.
The first example figure reproduces the orbital element and asteroid main-belt distribution plots from JPL using this smaller data set.
For the above figure the static declaration is:
{
title:"Orbital elements of asteroids and comets",
key:{shape:"rounded",outline:false},
charts:[
{id:"scatter1", subtitle:"Eccentricity against distance", type:"scatter", x:"Semi-major axis", y:"Eccentricity",xLabel:true, logX:false, width:550},
{id:"density1", subtitle:"Distribution of distances showing Kirkwood gaps", type:"distribution", x:"Semi-major axis", xLabel:true, width:550}
]
}
This and the programatic setting of the near-earth legend can be viewed in the source of index.html.
Each distribution in the right-hand plot is normalised, so for this data that is heavily biased towards the distant objects this is a slightly misleading visualisation. Instead, this might better be viewed either with a single combined distribution, or with a histogram like those below.
Further figures can be added with views of other fields, or into higher-level partitionings of the data. All of these still share selections with the charts above.
The right-hand histogram demonstrates Figurative data rescaling. The large histogram bins result in high counts that have automatically been rescaled into hundreds to save space, with this also updating any axis labels. The same would be applied to any field, with those that supply units in parentheses using the metric system for rescaling (e.g. length (nm) -> length (km) ).
Both histograms are examples of the hierarchical partitioning of the dataset: the data is first split into a set of bins that are then each represented by one bar in the chart. Selections propagate through the hierarchy so selecting a bar in a histogram will in turn select all assocaited data points in the scatter plot.