You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Technical Achievement
Learned to create basic primitives, scales and coordinate axes with d3.js.
Learned to create pie chart, histogram and line chart.
Learned to draw a map with d3 based on the obtained GeoJSON file.
Added some interactive animate features.
Design Achievement
In the pie chart, padAngle is added to make it look more comfortable. Each arc has a line pointing to its class name.
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.