Funnel charts are mostly used for representing a sequential process, allowing the viewers to compare and see how the numbers change through the stages.
In this article, we’ll explore how to build a funnel chart from scratch using Matplotlib, and then we’ll have a look at an easier implementation with Plotly.
There is no method for instantly creating funnel charts in Matplotlib, so let’s start with a simple horizontal bar chart and build from there.
import matplotlib.pyplot as plty = [5,4,3,2,1]
x = [80,73,58,42,23]plt.barh(y, x)
In this article, we’ll explore Kepler.gl, an open-source solution for geospatial data visualization and exploration. Kepler was developed by Uber to make it easier for users of all levels to design meaningful maps that also look good. The tool can handle large amounts of data and has a friendly, intuitive interface that allows users to build effective maps in an instant.
Available for all to use since 2018, it’s about time we get a closer look at how the tool fits into the data visualization landscape. …
With many similarities to pie charts, this creative visualization sets itself apart from its infamous cousin. The open center makes the slices look like bars and change the focus of the comparison from areas and angles to the length.
In this article, we’ll check two ways of plotting donut charts with Matplolib. A simple approach with Pie charts and the parameter wedgeprops, and a more complex method with polar axis and horizontal bar charts.
There’s no method for drawing a donut chart in Matplotlib, but we can quickly transform a Pie chart with wedgeprops.
Let’s start with a simple pie.
Allowing the user to hover the mouse or click a part of our visualization to get more context is excellent. And tooltips are a perfect way to save space in our chart.
For example, for most scatter plots labelling every point can get tricky. You can color-code them and use a legend, but even that can get messy when there’s too much data.
This visualization is the result of the sweet combination of elevation maps and ridge plots.
It uses multiple horizontal lines to represent the elevation of the terrain, like tracing the peak of various latitudes, one above the other.
Few visualizations are so intuitive and insightful as calendar heatmaps are at presenting time series data. It could be because they combine two very familiar visualizations, color coding and calendars.
You probably know someone who has a planner or a calendar full of notes; some may use brighter colors to mark tasks requiring more attention, or maybe they color-code everything by category.
The concept of calendar heatmaps is very similar. We encode a variable with color and plot them in a calendar format to understand its relationship with time.
This tutorial will explore a convenient package called Calplot to draw…
Streamlit is an easy-to-use framework, perfect for building web apps without struggling with layout, event handlers, or document trees.
Its friendly methods make it a great tool to explore datasets, demonstrate machine learning models, computer vision, natural language processing, data visualizations, and many other data-centric projects.
In this article, we’ll build a simple app to explore and transform datasets with Streamlit.
After installing it, we’ll create a file named
app.py and start with something simple.
import streamlit as st #pip install streamlitst.title('Explore a dataset')
In our environment terminal, we can go to the directory we saved our script…
Commonly referred to as a Mosaic plot, Spine plot, or just Mekko. This chart is often used, among other applications, as market maps to visualize industries segmented by types of customers, regions, and many other variables.
In essence, they are just a stacked bar chart where the bar widths are used to display another variable, usually the whole group’s proportion to the total.
With a straightforward format that can effortlessly illustrate changes and rank variables, Slope charts are more than just an over-glorified line chart.
They have earned their place in data visualization and can be a great addition to your reports and dashboards.
In this article, we’ll explore how to plot them with Matplotlib, get a look at different ways of designing them and how they compare to other data visualizations.
With a history going back to the 18th century, Open-High-Low-Close (OHLC) charts are among the most popular financial analysis tools, typically used to illustrate stock prices over time.
In this article, we’ll see how to build an OHLC chart with Matplotlib from scratch, explore the advantages and limitations of this visualization, and get a look at a more straightforward approach with mplfinance.
The chart is composed of a series of vertical lines that pack four critical variables about the price; The minimum, maximum, initial, and ending values over time, commonly measured in hours, days, or weeks.
Data visualization enthusiast