Previous work indicated how to embed a single InfoMapper map in a website. A similar capability needs to be enabled for time series chart, which will allow the InfoMapper code to be leveraged for time series displays. The following are design considerations:
Use an approach similar to full InfoMapper implementation to prepare data.
Use TSTool-exported time series project JSON file to describe the chart.
Use supported data formats such as DateValue and StateMod for time series formats - may add additional formats.
Data will be hosted in the cloud in public locations, including GitHub repository, S3/CloudFront, Google Cloud, etc.
Graph will be interactive within the web page, with features similar to InfoMapper graphs.
Also need a way to select from a list to update the graph. For example, a user might pick from a list of counties and then the graph for the county will be shown. Is this part of the library or InfoMapper, or just extra code around the embedded graph?
Is it possible to build an InfoMapper page that contains such graphs, not as popup, but as primary content of of a page? This would allow a content page to focus on a bunch of charts, rather than only accessing from the a map.
Ideally want the code to be as minimal as possible. Is it possible to use webpack to exclude code that is not used?
Previous work indicated how to embed a single InfoMapper map in a website. A similar capability needs to be enabled for time series chart, which will allow the InfoMapper code to be leveraged for time series displays. The following are design considerations: