Exploring bitcoin transaction graphs
In this section, we will learn about how to get the blockchain data, and provide step-by-step information as to how to explore, clean up, analyze, and visualize this data.
Bitcoin and blockchain graphs
Blockchain.info
is one of the best places to look at the latest bitcoin stats and graphs. There are different kinds of charts and graphs concerning bitcoin and blockchain that are available for analysis. We can also download the data in a variety of formats—CSV, JSON, and so on. We have downloaded some of this data in CSV format in the previous section, and now we will explore this data in a Jupyter Notebook.
We start by importing the modules we need. We need pandas
for data reading, exploration, and cleanup, and we need matplotlib
for creating the graphs.
Look at the data showing the total number of bitcoins in circulation. Read the CSV file that has this data and create a pandas
DataFrame
.
The following screenshot shows the data for the total number of bitcoins...