Data Visualization in Obsidian with Obsidian Charts

Поділитися
Вставка
  • Опубліковано 7 січ 2025

КОМЕНТАРІ • 40

  • @Marco_Mindstone
    @Marco_Mindstone  5 місяців тому

    🚀 Subscribe to my bi-weekly newsletter for free: www.mindstoneconsulting.net/

  • @HimavarshR
    @HimavarshR Місяць тому +2

    Your videos are direct. Without any beating around the bush like most obsidian youtubers. Please keep up this good work.

  • @douggottlieb
    @douggottlieb 11 місяців тому +3

    Great video Marco! I didn’t know about this. Will definitely try it out. Thanks for sharing

  • @OmarDugha-o6l
    @OmarDugha-o6l 10 місяців тому +6

    Great video , the name of the plugin is Charts (they change it )

    • @Marco_Mindstone
      @Marco_Mindstone  10 місяців тому +1

      Thank you!
      Yes I noticed that :)

    • @OmarDugha-o6l
      @OmarDugha-o6l 10 місяців тому +1

      @@Marco_Mindstone that you again bro 💕

  • @gustavohalperin
    @gustavohalperin 3 місяці тому +1

    Thanks!

  • @justmyhandle1
    @justmyhandle1 11 місяців тому +2

    Thanks, Marco. Useful.

  • @username_Bah
    @username_Bah 11 місяців тому +1

    😊

    • @Marco_Mindstone
      @Marco_Mindstone  11 місяців тому +1

      Wow, thank you! 😍

    • @username_Bah
      @username_Bah 11 місяців тому

      ​@@Marco_Mindstone😊 It's a pleasure, thanks to you💯

  • @_Froger_
    @_Froger_ 10 місяців тому +5

    this plugin looks cooler than tracker

    • @Marco_Mindstone
      @Marco_Mindstone  10 місяців тому +1

      In my opinion, it is. Especially for its customization and graphic look!

  • @marandaroth5604
    @marandaroth5604 4 місяці тому +1

    This was extremely helpful. Thanks!

  • @zapphine
    @zapphine 3 місяці тому +1

    such a great video! thank you, it was very helpful! i finally understood how to make this plugin cooperate!

    • @Marco_Mindstone
      @Marco_Mindstone  3 місяці тому

      Thank you! Glad to hear it’s been helpful :)

    • @zapphine
      @zapphine 3 місяці тому

      ​@@Marco_Mindstone by the way, do you know is it possible in any way to track multiple properties collected from daily notes in one chart to see how they correlate? i tried to do this to collect three properties in one chart and the code seems to be working but the chart show only last property from the code

    • @Marco_Mindstone
      @Marco_Mindstone  3 місяці тому

      @@zapphine Something like this:
      ```dataviewjs
      dv.span("**Chart_Name**")
      const pages = dv.pages('#daily_note and -"Templates"').sort(p => p.file.name)
      const dates = pages.map(p => p.file.name)
      const fist_variable_name = pages.map(p => p.first_property).values
      const second_variable_name = pages.map(p => p.second_property).values
      const chartData = {
      type: 'line',
      data: {
      labels: dates,
      datasets: [
      {
      label: 'First_Dataset_Name',
      data: first_variable_name,
      backgroundColor: 'rgba(53, 252, 167, 1)',
      borderColor: 'rgba(138, 102, 204, 0.8)',
      borderWidth: 1.5,
      spanGaps: true,
      },
      {
      label: 'Second_Dataset_Name',
      data: second_variable_name,
      backgroundColor: 'rba(75, 192, 192, 0.2)',
      boderColor: 'rgba(75, 192, 192, 1)',
      borderWidth: 1.5,
      spanGaps: true,
      }
      ],
      },
      };
      window.renderChart(chartData, this.container)
      ```
      Change the names accordingly and if you want to add other properties, simply add a new "const" and a new "dataset" using the same syntax used for these two.

    • @zapphine
      @zapphine 3 місяці тому +1

      ​@@Marco_Mindstone Thank you!! It was a lifesaver ✨

    • @Marco_Mindstone
      @Marco_Mindstone  3 місяці тому

      @@zapphine Glad to hear it :)

  • @zankokurd79
    @zankokurd79 5 місяців тому +1

    this is best video data view in you tube thank you

  • @grahamjoss4643
    @grahamjoss4643 11 місяців тому +1

    great info! clear and concise. I like how the examples progressive got 'harder' (more technically involved)
    how would I find the right css variable to increase the size of pie chart labels?

    • @Marco_Mindstone
      @Marco_Mindstone  11 місяців тому +1

      Thank you!
      What do you mean exactly? The size of pie chart labels depends on their series of data.
      You can change the width of the chart tho, since the pie chart tends to be “big”.
      Text me if you have any other questions.
      Cheers!

    • @grahamjoss4643
      @grahamjoss4643 11 місяців тому +1

      @@Marco_Mindstone thanks for the reply. I apologize, I'm still learning the jargon.
      I wish to have more control over the chart design, In the scenario of decreasing the 'label' property the legend shrinks too. I wish to have a small pie chart with a larger legend. I see that charts is a canvas object and would like to modify css.

    • @Marco_Mindstone
      @Marco_Mindstone  11 місяців тому

      @@grahamjoss4643 Hey! Now I better understand what you were looking for. Anyway, I don’t think it’s an aspect that you can control through CSS. If I find something about that, I will let you know, and feel free to do the same!

  • @realgouravverma
    @realgouravverma 10 місяців тому +2

    Amazing video.. is there a simple way to create charts from properties because I don't know javascript coding.

    • @Marco_Mindstone
      @Marco_Mindstone  10 місяців тому

      Thank you!
      Unfortunately, if you want to create charts from properties, you will need to use dataviewjs.

    • @trickstur5994
      @trickstur5994 5 місяців тому

      ​@Marco_Mindstone anyway you'd be willing to make a video that describes how to do this in a little more detail? I would love to do this as well. I might be able to figure it out if someone helped me get started.

  • @LokiMyBoy
    @LokiMyBoy 2 дні тому

    hey when you do series: then press - title: Title X, do you press enter to write data? It auto creates another - list and it works but having the - in front creates a new title

    • @Marco_Mindstone
      @Marco_Mindstone  День тому

      Hey!
      Press "Enter" while holding "Shift".
      Let me know if it works for you. ;)

  • @ivohop
    @ivohop 11 місяців тому +3

    It looks like they had to rename it from "Obsidian Charts" to "Charts". Even the description has changed from "Easily create Charts within Obsidian!" to "Easily create interactive charts in your notes".
    Likely a cease and desist demand from Obsidian IMO.

    • @Marco_Mindstone
      @Marco_Mindstone  11 місяців тому

      Apparently yes, even if they didn't change the GitHub page (yet).

  • @britainrising
    @britainrising 2 місяці тому

    I have linked my table to my chart and all was well but I now want to put my table inside a callout so its collapsable. However the id is no longer working as its inside the call out as far as I can tell. Does anyone know how to make it work.

    • @Marco_Mindstone
      @Marco_Mindstone  2 місяці тому

      Hey! Unfortunately, adding any indentation between the table, ID, and chart breaks the connection between them.
      Here’s a workaround: store the table in a separate note and reference that data for your chart (05:37). Then, to keep things accessible, insert an internal link above the chart pointing directly to the table using this syntax: [[Note_Title#^table_id]]. This way, you can quickly access the table when needed!