bundle.js
index.html
README.md
index.js
useData.js
AxisBottom.js
AxisLeft.js
Marks.js
ColorLegend.js
Dropdown.js
new fileforkset heightexportdelete
Interactive Color Legend Scatter Plot for Health Expenditure Vs Life Expectancy
aishwarya8615

An interactive color legend Scatter plot for Health Expenditure Vs Life Expectancy using the Life Expectancy Data.

This scatterplot takes required inputs from the data(like Health Expenditure, Life Expectancy and Continent) and uses these as inputs to both X and Y axes with the help of a dropdown. This scatter plot would help in finding the correlation between life expectancy and healthcare expenditure inturn helping countries to improve the life span.It also uses "Continent" as an input for Color Legend.Hovering over this helps in viewing the correlation in each continent.

Note: I got some ideas about the interactive color legend from Prof. Curran's Interactive Color Legend

All code in VizHub is released under the MIT License.