We owe a lot to this library. It was created by Mike Bostock who was a vizualization journalist at New York Times.
It offers abstractions on DOM so that developers can easily connect data with (mostly) SVGs but also any DOM, allowing immense flexibility for design, animation, interaction.
There are tons of simple chart libraries for javascript, often D3