Introduction
In this project, you will learn how to create a statistical chart of crop yields in a city over the past five years using ECharts. The project aims to demonstrate how practical problems can be analyzed through statistics on crop yields, which directly affect people's livelihood.
👀 Preview
![Image Description](https://file.labex.io/namespace/718bace8-27a3-4200-a588-dde4041ceeb9/echarts/project-hard-work-pays-off/lab-hard-work-pays-off/assets/2.png)
🎯 Tasks
In this project, you will learn:
- How to set up the project environment and understand the provided files
- How to fetch the data from a JSON file and process it to update the ECharts visualization
- How to customize the appearance and layout of the line chart and pie chart
🏆 Achievements
After completing this project, you will be able to:
- Use the Axios library to fetch data from a JSON file
- Manipulate the ECharts option object to update the visualization
- Customize the charts by adjusting the title, layout, and other properties