Dan wrote: > Hello and thanks to everyone who has helped to put together the SIMILE > project. I'm very impressed with Exhibit and am planning to use it as > a data exploration interface for some time series data. > > Is it possible to use a CSV data source as input for the Exhibit > Timeplot extension? I see that it's possible when using the standalone > Timeplot code (as in the example with Bush's ratings). I would lke to > use the Exhibit extension instead, as it comes with all of the nice > selection widgets. But when looking at the examples and code for the > Timeplot extension in Exhibit (timeplot-view.js), I couldn't see how > to load a CSV and then use a ColumnSource parameter. The comments in > the code say this: > > // There are two ways to specify a series, either by including > all > // the data in one DB item or by connecting one value across > several > // items. Across several is checked first during the set.visit > () and > // addEvent is called if found; if not, addSeries is called. > > I know how to load the DB from a JSON file, using a <script> tag in > the head section of the html document: > <link href="test-data.json" type="application/json" rel="exhibit/ > data" /> > > My question is whether it is possible to load this DB from a CSV file? > Or would I need to transform the CSV into a JSON format (which I would > like to avoid)?
Ryan did an example of something like this in the past, you can see the result at http://ryanlee.org/2008/03/rsy/rivalry.html Not sure this is enough but might get you started. -- Stefano Mazzocchi Application Catalyst Metaweb Technologies, Inc. [email protected] ------------------------------------------------------------------- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~----------~----~----~----~------~----~------~--~---
