Skip to content

Mock Data

shivy02 edited this page Mar 26, 2024 · 10 revisions

Financial Overview Code Snippets

Below are the code snippets for financial data including recurring expenses, monthly earnings, savings goals, expenses over periods, and detailed asset allocations.

Recurring Expenses

export const RecentRecurringMockData = [
  { name: 'Apple Music', value: 50000 },
  { name: 'Amazon Prime', value: 25000 },
  { name: 'Utilities', value: 15000 },
  { name: 'Capital One', value: 7000 },
  { name: 'AMEX', value: 3000 },
];

export const MoneyEarnedMockData = [ 
  { name: 'January', amt: 2400 },
  { name: 'February', amt: 2210 },
  { name: 'March', amt: 2290 },
  { name: 'April', amt: 2000 },
  { name: 'May', amt: 2181 },
  { name: 'June', amt: 2500 },
];


export const MockSavingsGoalData = [
  { amount: '$15,000', position: '0%' }, 
  { amount: '$30,000', position: '25%' },
  { amount: '$45,000', position: '50%' },
  { amount: '$60,000', position: '75%' } // Assuming 75% 
];

export const ExpensesPeriodMockData = [
  {
    period: "26-31 March",
    transactions: [
      { category: "Grocery", amount: -200.00, time: "10:00 am", place: "Whole Foods" },
      { category: "Transportation", amount: -25.00, time: "2:30 pm", place: "Uber" },
      { category: "Utilities", amount: -80.00, time: "5:00 pm", place: "Internet Provider" },
      { category: "Entertainment", amount: -50.00, time: "8:00 pm", place: "Movie Theater" },
      { category: "Health", amount: -75.00, time: "11:00 am", place: "Pharmacy" },
      { category: "Shopping", amount: -300.00, time: "3:00 pm", place: "Online Shopping" },
      { category: "Food and Drink", amount: -40.00, time: "1:00 pm", place: "Starbucks" },
      { category: "Housing", amount: -400.00, time: "9:00 am", place: "Rent Payment" },
      { category: "Utilities", amount: -90.00, time: "4:00 pm", place: "Gas Company" },
    ],
  },
  {
    period: "21-25 March",
    transactions: [
      { category: "Transportation", amount: -15.00, time: "5:12 pm", place: "MBTA" },
      { category: "Housing", amount: -185.75, time: "5:12 pm", place: "Airbnb" },
      { category: "Food and Drink", amount: -156.00, time: "5:12 pm", place: "Pizza Hut" },
      { category: "Entertainment", amount: -35.20, time: "5:12 pm", place: "AMC Theaters" },
      { category: "Health", amount: -80.00, time: "11:30 am", place: "Dentist" },
      { category: "Shopping", amount: -250.00, time: "3:00 pm", place: "Mall" },
      { category: "Utilities", amount: -120.00, time: "6:00 pm", place: "Water Company" },
    ],
  },
  {
    period: "16-20 March",
    transactions: [
      { category: "Grocery", amount: -110.30, time: "5:00 pm", place: "Walmart" },
      { category: "Housing", amount: -600.00, time: "9:00 am", place: "Rent Payment" },
      { category: "Insurance", amount: -120.00, time: "1:00 pm", place: "AllState" },
      { category: "Food and Drink", amount: -70.00, time: "7:30 pm", place: "McDonald's" },
      { category: "Entertainment", amount: -25.50, time: "10:00 pm", place: "Bowling Alley" },
      { category: "Health", amount: -40.00, time: "2:00 pm", place: "Doctor's Office" },
      { category: "Shopping", amount: -180.00, time: "11:00 am", place: "Target" },
    ],
  },
  {
    period: "11-15 March",
    transactions: [
      { category: "Shopping", amount: -450.00, time: "4:00 pm", place: "Amazon" },
      { category: "Vehicle", amount: -250.00, time: "2:00 pm", place: "Car Service" },
      { category: "Health", amount: -60.00, time: "10:00 am", place: "Pharmacy" },
      { category: "Utilities", amount: -100.00, time: "6:30 pm", place: "Gas Station" },
      { category: "Food and Drink", amount: -90.00, time: "12:00 pm", place: "Burger King" },
    ],
  },
  {
    period: "06-10 March",
    transactions: [
      { category: "Food and Drink", amount: -65.20, time: "1:10 pm", place: "Subway" },
      { category: "Entertainment", amount: -35.00, time: "8:15 pm", place: "Netflix" },
      { category: "Utilities", amount: -125.65, time: "3:45 pm", place: "City Electric" },
      { category: "Transportation", amount: -50.00, time: "9:30 am", place: "Taxi" },
      { category: "Health", amount: -120.00, time: "11:45 am", place: "Hospital" },
      { category: "Shopping", amount: -80.00, time: "5:00 pm", place: "Outlet Store" },
    ],
  },
  {
    period: "01-05 March",
    transactions: [
      { category: "Grocery", amount: -150.45, time: "5:12 pm", place: "Market Basket" },
      { category: "Transportation", amount: -45.00, time: "6:30 pm", place: "MBTA" },
      { category: "Housing", amount: -200.75, time: "7:00 am", place: "Airbnb" },
      { category: "Health", amount: -55.00, time: "2:00 pm", place: "Dentist" },
      { category: "Shopping", amount: -180.00, time: "4:30 pm", place: "Fashion Store" },
      { category: "Entertainment", amount: -40.00, time: "8:00 pm", place: "Concert Hall" },
      { category: "Utilities", amount: -80.00, time: "10:00 am", place: "Gas Company" },
    ],
  },
];

export const detailedData = {
  Stocks: [
    { name: 'Apple', value: 20000 },
    { name: 'Microsoft', value: 20000 },
  ],
  Bonds: [
    { name: 'US Treasury', value: 15000 },
    { name: 'Corporate Bonds', value: 15000 },
  ],
  ETFs: [
    { name: 'Vanguard S&P 500', value: 15000 },
    { name: 'iShares Russell 2000', value: 15000 },
  ],
  Cash: [
    { name: 'Savings Account', value: 42000 },
  ],
};
Clone this wiki locally