Forthisexerciseyouwillbuilda3dimensionalpiecharttheurl

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: se to the URL, a custom image is sent to the client over the Internet. Think of Image Chart URLs as a domain­specific language for constructing informational graphics. Well­formed URLs send back attractive charts, while ill­formed ones send nonsensical or blank charts; consequently, debugging Image Charts can be tricky. For this exercise, you will build a 3­dimensional pie chart. The URL syntax for such charts looks like this: https://chart.googleapis.com/chart?chtt=MLB%20Teams&chs=400x200&cht=p3&chd=t:2,2,1&chl=Chica go|New%20York|Cleveland Note that any spaces in chart data (as in the chart title here, "MLB Teams", and the chart label "New York") need to be written "%20" lest they terminate the URL. The full Google Image Chart Pie Chart documentation is here; peruse it. While getting familiar with Image Charts, you may find the Live Chart Playground helpful. Exercise Your tasks are as...
View Full Document

This note was uploaded on 07/02/2013 for the course CMSC 15100 taught by Professor Adamshaw during the Fall '12 term at UChicago.

Ask a homework question - tutors are online