A contour plot shows the estimated density of point clouds, which is especially useful to avoid overplotting in large datasets.
GOAL OF THE TUTORIAL: comparing wheater condition (mean temperature) in Paris during the World War II, from 1944 to 1945.
The first step is to copy and paste your data into RAWGraphs.
The dataset must contain at least two columns, one for the X Axis (in our case, Date) and one for the Y Axis (MeanTemp).
Here you can see the dataset we are going to use:
You can also download the dataset through the link on the left of this post.
In few second you should see the green bar saying “429 records in your data have been successfully parsed!”
After pasting your data, scroll down and select the “contour plot” visual model.
The contour layout has two visual variables.
|X Axis||Number, date||*||The horizontal position of the points.|
|Y Axis||Number, date||*||The vertical position of the points.|
It’s time to map your data and create the visualization. On the left you have the list of dimensions in your dataset, on the right the available visual variable of the scatter plot layout.
Drag and drop the dimensions as following:
In this way we created a point for each movie in the dataset, disposing it on the cartesian plane according to its date and its mean temperature.
To reach the final results we can customize the visualization with some parameters you can find next to the visualization.
For the scatterplot the options available are the following:
|Width||Artboard width in pixels|
|Height||Artboard height in pixels|
|Standard deviation||A quantity expressing by how much the members of a group differ from the mean value for the group.|
|Colors applied to||The possibility to apply colors to the stroke or to the fill of each curve.|
|Set origin at (0,0)||If selected, the contour plot origin will be set at the zero value for both the axes. If not selected, origin will be set to the minimum value for the two axes.|
|colour scale||List of uniques values in the dimension mapped as “color”. If set to ordinal, you can set a color for each value. If set to linear, the app will try to find the minimum and maximum value contained in the dimension, and then creating a gradient among those two values.|
For the final results we have set the options as following:
Here is the finished chart. You can export it in svg or png using the download function at the bottom of the page.
"How to make a contour plot (RAWGraphs 1.0)", by RAWGraphs Team. Licensed under CC BY-NC-SA 4.0. Accessed: May 28, 2021, from undefined
Copy to clipboard