d3.js - Transition a chart dependent on another chart -


i new d3.js have managed make 2 individual charts in introduction.
have map chart, has dots representing monitoring stations. have line chart has multiple timeseries (data json) 1 monitoring station.

what do. have 2 charts on 1 page. when mouseover or click on station on map data loaded , displayed on line chart. when new station selected on map, data transitions on line chart

the question have 1 of style. 2 separate charts best way combine them? transition, have searched have not found simple examples has 2 charting elements interacting 1 effects other. should combine timeseries data 1 json file (say 4 timeseries times 50 stations) or have 50 json files?

thanks

unless timeseries data large, put in 1 json file make things simpler , changing stations can take place entirely client side.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -