Interactive map plot of payments made by drug and medical device companies to physicians and teaching hospitals which can include money for meals, travel and gifts. The data is available as part of a national transparency program from the US Government. The map displays hospital locations and total monies received in 2018 using data reported by the Centers for Medicare and Medicaid Services and was retrieved using the Open Payments API .
Click on this link to view the interactive projection created in Plotly. Hospital location and total money received in display on hover.
Google Map API, Plotly and Python.
- The app.py script contains the api call for openpaymentsdata.cms.gov.
- Index file is Plotly generated html.
- The geocoding script is in geocode.py.
- The hospitals_map.py creates the Plotly map.
- Data at various stages are in the CSV files.
- Screenshots in the img folder.