Overview
Data visualization refers to the graphical representation of data. In Pinterest products, data is generally visualized in charts via symbols like lines and bars. However, visual representations of data can also appear as sparklines, mini-bars and mini-donuts inside table cells, cards and other UI elements.
Principles
Accurate
Although aesthetics are important, data visualizations should be primarily accurate. Any visual treatments should reinforce the accuracy and veracity of data so that people can take the correct action.
Purposeful
Data should be visualized in a way that is readable, digestible and actionable depending on a person’s role and situation. For example, a busy campaign manager should be able to quickly read data in order to understand how a campaign is doing. A data scientist should be able to go into deeper, more complex visualizations and do the same.
Responsive
Data visualizations should be accurate and coherent on desktop and mobile screens. Even on desktop, a data set should respond to large, medium and small views.
Use cases
While data visualization can be an effective way for people to analyze, interpret and act on data, it isn’t always the best way to represent data in UIs.
- When comparing, explaining or monitoring data can be done faster by using a graphical representation
- For people who can process data visually
- If data can be more simply stated by using text
- For people who may have cognitive or other impairments that make it hard to process graphical representations of data. Use tabular data instead.
To analyze
Data visualizations can be used to help someone explore, review and analyze various data sets to get a general understanding of how things are going. An example is an advertising insights dashboard with a chart and micro-visualizations that tell an overall story.
To monitor
Administrators may use data visualizations to monitor the health of a system and check for errors, budget usage or other issues.
Similarly, an Advertiser or Creator may use a mobile app to monitor ads and content on the go.
Visualizing data in product dashboards
People may rely on a product dashboard to analyze and gain insights or to come up with a sales and advertising strategy. Regardless of the intent, the layout should be structured starting with the most significant and ending with the least significant details, depending on the viewer’s role. For example, a campaign manager might see a dashboard as follows:
- Show the significant details first. This is usually done with a chart or graph.
- Next, provide scannable details in a table, that can then be drilled into further if needed.
- End with secondary background information. Here, we often find a combination of tables, lists and smaller visualizations.