This pull request introduces a new feature to visualize Pinduoduo's stock price trend over the past six months, enhancing the repository with data visualization capabilities.
New Page Creation: Adds pinduoduo-stock-trend.html, a dedicated page for displaying the stock price trend of Pinduoduo, including a script link to pinduoduo-stock-trend.js for processing and displaying stock data.
JavaScript Logic: Implements pinduoduo-stock-trend.js to fetch stock price data from a mock API (mock-api.json), process this data to filter out the last six months, and utilize Chart.js to render the stock price trend graph.
Navigation Update: Updates index.html by adding a link to the newly created pinduoduo-stock-trend.html, facilitating easy navigation between pages.
Documentation: Enhances README.md with a new section that details the purpose and usage of the pinduoduo-stock-trend.html page, guiding users on how to view the Pinduoduo stock trend.
Mock Data: Introduces mock-api.json to simulate fetching Pinduoduo's stock price data, containing sample data points for the past six months.
This pull request introduces a new feature to visualize Pinduoduo's stock price trend over the past six months, enhancing the repository with data visualization capabilities.
pinduoduo-stock-trend.html
, a dedicated page for displaying the stock price trend of Pinduoduo, including a script link topinduoduo-stock-trend.js
for processing and displaying stock data.pinduoduo-stock-trend.js
to fetch stock price data from a mock API (mock-api.json
), process this data to filter out the last six months, and utilize Chart.js to render the stock price trend graph.index.html
by adding a link to the newly createdpinduoduo-stock-trend.html
, facilitating easy navigation between pages.README.md
with a new section that details the purpose and usage of thepinduoduo-stock-trend.html
page, guiding users on how to view the Pinduoduo stock trend.mock-api.json
to simulate fetching Pinduoduo's stock price data, containing sample data points for the past six months.For more details, open the Copilot Workspace session.