Below is a plot showing the Exoplanet density versus the semi-major axis of its orbit around the host star.
The source dataset is the “Confirmed Planets“ catalogue from the Nasa Exoplanet Archive, an online astronomical exoplanet and stellar catalog. The archive is dedicated to collecting and serving important public data sets involved in the search for and characterization of extrasolar planets and their host stars. The Confirmed Planets table lists all the parameters available from the default literature reference for each planet.
Exoplanet Archive Application Programming Interface (API) User Guide