Some examples and resources for visualizing data.
These examples were made using Python 3.8 and Plotly 5.7.
Note: On macOS and Linux systems you may already have some version of Python installed.
To check, open a terminal and type:
$ python
See also: https://www.python.org/downloads/
In a terminal, type:
$ python -m pip install plotly
Or:
$ pip install plotly
See also: https://plotly.com/python/getting-started/
Download and extract the files to your user folder (e.g. /home/username/
).
$ python simple_plot_errorbars.py
$ python simple_plot_map.py
This webpage shows another intuitive example of creating colored maps.
You need to install Pandas to use it:
$ python -m pip install pandas
https://newbedev.com/python-plotly-choropleth-map-us-states-code-example
Plotly examples: https://plotly.com/python/
Python Tutorial: https://www.w3schools.com/python/default.asp