# Drawing lines, curves, and arcs
This folder contains the exercise files for chapter 3 of [D3.js in Action, 3rd edition](https://www.manning.com/books/d3js-in-action-third-edition).
</br>
The folder is separated into subfolders corresponding to each section of the chapter. In these subfolders, you'll find a *start* and an *end* folder. To follow along with the book's instructions, write your code in the *start* folder. You'll find the solution in the *end* folder if ever you get stuck.
When changing to the next section, you can choose to keep coding in the same files or use the *start* folder for that section.
## Sections in this chapter
* [3.2-Preparing_data](https://github.com/d3js-in-action-third-edition/code-files/tree/main/chapter_03/3.2-Preparing_data)
* [3.3-Binding_data](https://github.com/d3js-in-action-third-edition/code-files/tree/main/chapter_03/3.3-Binding_data)
* [3.4-Scales](https://github.com/d3js-in-action-third-edition/code-files/tree/main/chapter_03/3.4-Scales)
## How to run the project
To run this project, you'll need a local webserver. We recommend using [VS Code](https://code.visualstudio.com/)'s Live Server extension. You can find instructions on installing this extension in Appendix A of the book.
1. Open the project folder (a *start* OR an *end* folder from the subsections mentioned above) in VS Code.
2. To run the project with the Live Server extension, click the *Go live* button in the status bar of VS Code.
3. The project should open automatically in your browser.
## Structure of the project
* The `/data` folder contains a CSV file names `data.csv`, extracted from the results of the [2021 State of the Industry Survey](https://www.datavisualizationsociety.org/survey) by the [Data Visualization Society](https://www.datavisualizationsociety.org). The columns are organized as follows:
* `technology`: A list of technologies used for data visualization.
* `count`: The number of respondents who mentioned using this tool.
* The `/css` folder contains the CSS file `main.css`, where styles have been added for the responsive SVG container.
* The `/js` folder contains the JavaScript file `main.js`. This is where we will build our bar chart.
* `index.html` contains the markup and text that composes the project. The D3 library, `main.css`, and `main.js` are already loaded in this file.
Happy D3 coding! ����
安冬的码畜日常
- 粉丝: 4157
- 资源: 24
最新资源
- 基于java的宿舍管理系统设计与实现.docx
- 基于java的汽车租赁管理系统设计与实现.docx
- 基于java的图书大厦图书管理系统的设计与实现.docx
- 基于java的网购平台管理系统设计与实现.docx
- 基于java的文学创作的社交论坛设计与实现.docx
- 基于java的图书管理系统设计与实现.docx
- 基于小程序的论坛小程序源码(小程序毕业设计完整源码).zip
- 基于java的校车调度管理系统设计与实现.docx
- 基于java的校园便利平台设计与实现.docx
- 基于java的小区物业管理系统设计与实现.docx
- 基于java的学院个人信息管理系统设计与实现.docx
- 基于java的协同过滤算法的私人诊设计与实现.docx
- 烟花模拟器,一个模拟放烟花的网页
- 基于java的校园一卡通设计与实现.docx
- 基于java的医院病历管理系统设计与实现.docx
- 基于java的一款基于BS的美食网站的设计与实现.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈