Drupal pie chart with Visualization API and Highcharts

Johanna Lindh · 13K views · 2013 · 3:21

Open on YouTube

Web developmentData visualization & information designtutorialdated

Why Drupal Answers Stack Exchange recommends it

Drupal Stack Exchange users link it when answering how to turn Views data into charts with Highcharts and the Visualization API.

Recommended by 1 people across 1 different months, 2014 to 2016.

What it is

A silent 3-minute Drupal 7 screencast by Johanna Lindh showing how to build a pie chart from tagged articles using Views, the Visualization API module and the Highcharts library. Step-by-step written instructions are in the description.

What people said

Recommends bPadaria · 2014-03 · Drupal Answers Stack Exchange · on “How to create a line graph of the total user points on a profile page?”

Create a table with "Views" using "Date" and "total point" columns on per day basis. If you get all the accurate data needed, you can change "Views" format to "Visualization" instead "table" and set X-axis and Y-axis accordingly. Check this video [this video] for exact details

Cites Paritoshik Paul · 2015-04 · Drupal Answers Stack Exchange · on “How to create a chart for tracking Product stock over some period of time using Ubercart?”

Folks, From My Professional experience you can use Highcharts in drupal. Usually highcharts also have its own significances with views but I will suggest you guys to use highcharts libraries with visualization module. You have much flexibility to use CHARTS IN VIEW As per required + Filters and all other stuff also works quite Smoothly with highcharts. You also have lot of other options also to use with visulization API. It also allows you to create custom charts serving the data from database or wherever you want. Important Links : Visualisation : [LINK] References : Screencast : [this video]

Cites splunge · 2016-03 · Drupal Answers Stack Exchange · on “How to create a chart from simple data without using the Views aggregation feature?”

I am trying to create a chart from really simple data. I am using the highcharts library and the Visualization API [LINK] module and Views [LINK] . It seems like the only type of graphs that I see examples of on the Internet involve aggregation. For example, someone wants to find the number of taxonomy terms used in the nodes of a particular content type and they use a pie chart to show the percentage ( [this video] ). The type of data I am trying to visualize is something like this. Year Products +------+----------+ | 2015 + 78 + +------+----------+ | 2014 + 74 + +------+----------+ | 2013 + 123 + +------+----------+ | 2012 + 106 + +------+----------+ | 2011 + 59 + +------+----------+ | ... + ..