Well, my problem is in certain way easy but I'm crazy making the others projects for the university.So, the project is a visualization in d3js library. I have four visualizations and I need to make two things works in one of them: the bar chart.
The bar chart has information about 4 things: GDP, HDI, Life Expectancy and Unemployment – that are indicators for the information that I want to show. And I have a drop down menu to select what indicator I want to see. Each one of this indicators are from a country. All this data come from a .json file. Now, this bar chart only reads the .json file and draw the bar chart.
What I need:
1. the dashboard has a slider to choice the year's interval for the visualizations. I need that this works in bar chart. I select the interval in this slider and my bar chart updates with the interval (in years) - I'm using a dispatch for this.2. the dashboard has a world map and when I select a country in this world map I want that this filter the country in my bar chart, showing the respective indicators for the country.
That's it!
I know that this is not a big problem but I'm really having trouble with js and I need help. I spent so much time on this and couldn't do it right.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here