Added a respond to window resize to this Relation Between Income And Health Expectancy In Different Countries data visualization.
The GDP per capita data are comes from World Wealth & Income Database.
The health data expectancy are gathered from Global Health Observatory data repository.
Some of the code are referenced from curran.
Built with blockbuilder.org
https://d3js.org/d3.v4.min.js
https://cdnjs.cloudflare.com/ajax/libs/d3-legend/2.24.0/d3-legend.min.js