Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
14
Comments
1
Robert
@rhyuen

All comments

  • NKWETAKEM TABO BRUNO•490
    @BLADEHEDA
    Submitted almost 3 years ago

    expenses-chart-component-

    #chart-js
    1
    Robert•190
    @rhyuen
    Posted almost 3 years ago

    You can use the following to pull the data from the included "data.json" file locally.

    import data from "./data.json" assert {type: "json"};

    From there, you can console.log(data) and you'll be able to see the array of seven items.

Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub