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

Summary

In this chapter, we've set up our working environment and introduced the first couple of concepts of D3. We've showed that there is a standard pattern for binding data to elements, and how we can use D3 to handle new elements, update existing elements, and how to remove obsolete elements. We've also created our first visualization in this chapter. We've used a standard CSV file, and converted that to a bar chart, complete with custom colors, text elements, and a set of axes. Throughout this chapter, we've touched upon a couple of D3 APIs and concepts, such as d3.selectAll, d3.axisBottom, and even explored a part of how D3 handles scales (d3.linearScale).

In the next chapter, we'll continue with the subjects we've seen so far, and look more closely at how you can use D3 to create different kinds of charts.

主站蜘蛛池模板: 泸水县| 哈巴河县| 密山市| 南皮县| 沈阳市| 蓝山县| 蓝山县| 贵溪市| 盐亭县| 浦北县| 鹤山市| 潍坊市| 汝阳县| 湖南省| 泗水县| 湖州市| 牡丹江市| 宣城市| 藁城市| 宜兰县| 辰溪县| 阳曲县| 图们市| 阳曲县| 盐边县| 东阳市| 宁强县| 云和县| 囊谦县| 砀山县| 建瓯市| 中江县| 游戏| 闽侯县| 炉霍县| 黄陵县| 武强县| 三穗县| 包头市| 金华市| 蕲春县|