This preview shows page 1. Sign up to view the full content.
Unformatted text preview: follows:
● write code to tally the candy preferences from a csv file,
● write code to construct a 3D pie chart URL from a tally, and
● call bitmap/url (from 2htdp/image) to construct the image from the URL in DrRacket.
You must provide the following function:
;; csv->chart: string string -> img
;; generate 3d pie chart with given title and path name of csv file
The first argument to csv>chart is the chart title (like MLB Teams in the example above), and the second
is the name of the data file from which to read. In the internal details, how exactly...
View Full Document
- Fall '12