Playing with Graphs in Python
Graphs are a great way to visually represent data that changes within a specific dimension. We come across graphs quite frequently in our day-to-day lives, be it weather charts for a week, stock market movements, or student performance report cards.
Similarly, graphs can come in quite handy when we are working with our web applications. For Bookr, we can use graphs as a visual medium to show the user information about the number of books they read each week. Alternatively, we can show them the popularity of a book over time based on how many readers were reading the given book at a specific time. Now, let's look at how we can generate plots with Python and have them show up on our web pages.
Generating Graphs with plotly
Graphs can come in quite handy when trying to visualize patterns in the data maintained by our applications. There are a lot of Python libraries that help developers in generating static or interactive graphs.
For...