How to leverage community visualizations in your reports?
Getting started with advanced techniques when using community visualizations can boost your reports in an impressive way. The developer community offers a wide range of charts designed for users to enhance the presentation of their data. Next, we will learn about a practical example using an animated bar chart.
How to use an animated bar chart?
To determine which day of the week generates the most revenue, we can use a community visualization. Here are the detailed steps:
-
Add a chart: we will not do this using the usual insert option. Instead, we will use the specific icon for adding community charts, located in some menu of the software we are using.
-
Select the appropriate chart: Within the available options, we will look for a particular chart called "Animated Bar Chart". This type of graph allows us to visualize how income behaves over time.
-
Customize the style: Once the chart is inserted, we can change its appearance. For example, we can set a white background and adjust the colors of the bars to improve visual legibility.
chart.style.background = 'white';chart.style.bars.color = 'blue';
How to adjust the chart dimensions and metrics?
The key for the chart to provide us with the desired information is to correctly configure its dimensions and metrics:
-
Time dimension: we configure the dimension to show us the data by day of the week. To do this, go to the data and make sure that the dimension is "day" or "day of week".
-
Revenue metric: We will change the default metric, which could be sessions, to "revenue" to focus on the evolution of daily earnings.
-
Configure time transition: It is essential that the transitions are made throughout the month and not per minute, in order to clearly show how the monthly revenue evolves.
//data.dimension = 'day of the week';data.metric = 'revenue';time.transition = 'month';
How to improve the understanding of the chart?
For the chart to tell a clear story about revenue, it is relevant to be aware of how dates and data accumulation are presented:
-
Validate the date range: make sure the chart shows the dates correctly, from the beginning of the year to December 2019, for example.
-
Cumulative transitions: For a consistent representation, verify that the transitions are cumulative to show a total evolution over time.
With these practices, you will be able to make your reports more visual and impactful. Learning how to use these resources correctly not only beautifies your presentations, but also brings clarity to your analysis. Keep experimenting with the different visualizations offered by the community and take your reports to the next level!
Want to see more contributions, questions and answers from the community?