Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Data Visualization Articles
Found 680 articles
Adjusting the heights of individual subplots in Matplotlib in Python
The matplotlib is a library in Python that allows us to create graphs and plots for data visualization. This library provides several functions to adjust the height, width, and other layout properties of individual subplots in a figure. In this article, we will learn how to adjust the heights of individual subplots in matplotlib using Python. Subplots in Matplotlib Adjusting Heights of Subplots Using gridspec_kw Adjusting Heights of Subplots Using GridSpec Conclusion Subplots in Matplotlib A subplot is a smaller ...
Read MoreAdjusting Text background transparency in Matplotlib
The matplotlib is a library in Python that allows us to create graphs and plots for data visualization. This library have several built-in functions to style the plots, such as changing colors, adding titles, setting backgrounds, labels, and adjusting the layout of subplots. In this article, we will learn how to adjust the transparency of text backgrounds in matplotlib plots. Text Backgrounds in Matplotlib Adjusting Background Transparency of Title Text Adjusting Background Transparency of Labels Conclusion Text Backgrounds in Matplotlib ...
Read MoreAnalyze and Visualize Earthquake Data in Python with Matplotlib
Earthquakes are natural phenomena that can have effects on human life and infrastructure. With the availability of geospatial and seismic datasets, scientists and researchers can analyze and visualize the earthquake data to identify the patterns, trends, and risk zones. Python, along with libraries like Matplotlib, Pandas, and NumPy, provides the tools to process and visualize the data. In this article, we are going to analyse and visualize earthquake data in Python with Matplotlib. Analyzing and visualizing Earthquake For the examples in this article, we use the dataset named "demo_1.csv" that contains information about the earthquakes. The data ...
Read MoreAligning table to X-axis using matplotlib Python
The Python Matplotlib library allows us to create visual plots from given data. To make the data easier to read and relate to the chart, we can display it in the form of a table and position it directly below the corresponding bar chart. Since the x-axis runs horizontally, we arrange the table in the same direction so that each value aligns correctly under its corresponding bar. Based on this concept, we demonstrate the diagram as follows: Steps to Align a Table to the X-axis Using Matplotlib Following are the steps to create a table and store data ...
Read MoreHow to save a histogram plot in Python?
When working with data visualization, plotting and saving a histogram on a local machine is a common task. This can be done using various functions provided by Python's Matplotlib, such as plt.savefig() and plt.hist(). The plt.hist is used function to create a histogram, by taking a list of data points. After the histogram is plotted we can save it, by using the plt.savefig() function. Steps to Plot, Save and Display a Histogram The steps included to plot and save the histogram are as follows. Configure ...
Read MoreDifference Between Orthographic and Isometric Projection
Projection is a computer graphics system in which an image is shown in various dimensions. This helps to view 3D images into their 2D counterparts. Projection can be of two types which include Orthographic and Isometric Projection. In this article, we will discuss the difference between Orthographic and Isometric Projections. What is Orthographic Projection? Orthographic projection is a type of projection in which the projection and view plane are perpendicular to each other. Orthographic projection is a method in which 3D objects are converted into 2D objects and displayed on the screen. Projectors are arranged parallel to each other and ...
Read MoreSingle-line and Multiline Diagrams to Represent Electrical Systems
This article is meant for explaining the two most widely used visual representations of electrical systems also called electrical diagrams. These diagrams are single-line diagram and multiline diagram. These two diagrams are used in electrical engineering to represent various electrical layouts and connection arrangements of electrical systems. In electrical engineering, the visual/graphical representation of electrical systems like distribution systems, control panels, transmission line, generating stations, etc. is very important to understand the connections of various system components, designing and analyzing electrical systems, and more. In the field of electrical engineering, the following two main types of visual representations are ...
Read MoreCreate a simple clustered chart to show the Gender Distribution in the employee dataset
Introduction Visualization is an effective technique where the users can showcase their data in the presentation form. Numerous built-in visuals are available in Power BI tools like Simple clustered charts, Line charts, Heat maps, Funnels, Gauge charts, Pie charts, and so on. Through these visuals, the segregation of data based on accuracy enables quicker identification of useful information while eliminating time-consuming manual corrections. We will examine the clustered chart in this article to observe how the gender distribution in the employee dataset is displayed. Creation of a simple clustered chart to show gender distribution in the dataset Step 1 ...
Read MoreHow to create a Radial Gauge Chart in Power BI?
Introduction Users can identify the critical areas of businesses after monitoring numerous KPIs and visualize them through radial gauge charts. It comprises of semi-circular arc representing a solitary value that slowly reaches a destination value. Users may set the smallest value, destination value, and largest value, add a specific field on the gauge chart, and develop a vibrant Gauge chart by employing conditional formatting. The present field value lies between the smallest and largest values on the Gauge chart. To develop a radial Gauge chart in Power BI Step 1 Consider the sample datasets named Sheet1(2) consisting of six columns ...
Read MoreGenerate a DAX measure to compute the average BMI for hypertension patients
Introduction In today's era, youngsters and older adults are suffering from hypertension and diabetes due to excessive work pressure. Manually calculating the average BMI in an enormous dataset is time-consuming for data analysts. To overcome this problem, the DAX measure is an excellent way to evaluate the average BMI of hypertension patients and count the number of diabetes patients. The complex problem would also be resolved swiftly, and accurate results would be generated through the DAX function. We can follow these steps to create new measures in the Power BI desktop − Creation of a table in Microsoft ...
Read More