Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assignment 1 - Hello World: GitHub and d3

  • According to statistical data, draw histogram and pie chart to reflect statistical characteristics
  • According to temparature dataset, reflect the temperature trend of Hubei Province throughout the year through the line chart
  • Draw the map of Hubei Province Image text Image text

Technical Achievement

  1. Learned to create basic primitives, scales and coordinate axes with d3.js.
  2. Learned to create pie chart, histogram and line chart.
  3. Learned to draw a map with d3 based on the obtained GeoJSON file.
  4. Added some interactive animate features.

Design Achievement

  1. In the pie chart, padAngle is added to make it look more comfortable. Each arc has a line pointing to its class name.
  2. In the map, when the mouse passes over a specific province, the place of that province on the map will gradually turn orange within 0.4 seconds and the name of the province will be displayed above the mouse. After the mouse is left, the color will gradually return to normal within 0.4 seconds and the name bar will disappear.

Tips

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages