官术网_书友最值得收藏!

A Primer on DOM, SVG, and CSS

You might already be used to manipulating DOM and CSS with libraries such as jQuery; if so, much of this will seem very familiar, as D3 has a full suite of manipulation tools. If not, don't worry, as this chapter exists to get everyone up to speed.

Very similar to HTML's DOM is the SVG namespace, which we'll use for most of the examples in this book. SVG is at the core of building truly great visualizations, so we'll take special care to understand it, starting out by manually drawing shapes and then doing the same using D3's path generators in Chapter 3, Shape Primitives of D3.

In this chapter, we'll take a look at the core technologies that make D3 tick. They are as follows:

  • Document Object Model (DOM)
  • Scalable Vector Graphics (SVG)
  • Cascading Style Sheets (CSS)
主站蜘蛛池模板: 昆山市| 克山县| 鹿泉市| 科尔| 公安县| 南汇区| 唐海县| 普定县| 栾川县| 花莲市| 雷山县| 泌阳县| 静乐县| 武山县| 邵武市| 新宾| 竹山县| 邢台县| 西充县| 桐柏县| 汤原县| 桂东县| 桃园市| 五河县| 泰宁县| 高雄市| 定州市| 长岭县| 滁州市| 横峰县| 遂宁市| 南溪县| 梅州市| 汉寿县| 图片| 闻喜县| 翼城县| 普兰店市| 会理县| 绵阳市| 蒙山县|