Giter Club home page Giter Club logo

Comments (19)

sa-mm avatar sa-mm commented on May 21, 2024 2

Also, that tutorial might be easier to follow if the constant and key in the constant weren't both called "data."

from semiotic.

timelyportfolio avatar timelyportfolio commented on May 21, 2024 2

Here is a quick example http://blockbuilder.org/timelyportfolio/2657963ea577afe43b6eeab798b31c67 using my temporary standalone version of Semiotic. I have not worked out the CSS part yet.

from semiotic.

bengarvey avatar bengarvey commented on May 21, 2024 1

Include the data if possible in the code examples.

from semiotic.

emeeks avatar emeeks commented on May 21, 2024 1

Added it to https://github.com/emeeks/semiotic/wiki/Tutorials

from semiotic.

fengshuo avatar fengshuo commented on May 21, 2024

In the XYFrame tutorial here, the code snippet shows:

<XYFrame
   lines={data}
   xAccessor="timestamp"
   yAccessor="sales"
   xScaleType={scaleTime()}
   lineDataAccessor="data"
   lineStyle={d => ({ stroke: d.color, fill: d.color })}
/>

but it will throw The prop size is marked as required in XYFrame, but its value is undefined, would be easier for first time user if the code snippet has what's on the example page, like adding size prop, 😀

from semiotic.

emeeks avatar emeeks commented on May 21, 2024

What a silly mistake, thanks for catching that.

from semiotic.

emeeks avatar emeeks commented on May 21, 2024

First simple tutorial for a bar chart:
https://emeeks.github.io/semiotic/#/semiotic/creatingbarchart
More coming soon.

from semiotic.

emeeks avatar emeeks commented on May 21, 2024

Two more examples:
Line chart:
https://emeeks.github.io/semiotic/#/semiotic/creatinglinechart
Pie/Donut/Nightingale Chart
https://emeeks.github.io/semiotic/#/semiotic/creatingpiechart

from semiotic.

zettadam avatar zettadam commented on May 21, 2024

Would it be possible to make data passed to visualizations easier to understand? In many examples, it seems a little magical.

For example, I took a look at histogram summaryType in ORFrame demo. The docs are unclear how one would format data for this type of visualization. I understand that they are 'funnelized' because I tried to follow the source code, but I failed to find how it is processed.

I created a HistogramChart based on that example and copied generated data, but the output visualization was nowhere near what I expected.

from semiotic.

emeeks avatar emeeks commented on May 21, 2024

This is a good point @zettadam. I'll put together a summaryType walkthrough and be very specific about this. I think the ORFrame data abstraction is the most "magic" part of Semiotic based on feedback. I think it's a good model but I know I need to explain it better.

from semiotic.

curran avatar curran commented on May 21, 2024

Has anyone had success with Semiotic on bl.ocks.org?

Perhaps possible using babel-standalone.

from semiotic.

emeeks avatar emeeks commented on May 21, 2024

People have shared examples using StackBlitz and I know there was some talk about creating an unpkg version, which would make it blocks friendly.

from semiotic.

curran avatar curran commented on May 21, 2024

Just discovered this https://github.com/emeeks/semiotic-examples

from semiotic.

emeeks avatar emeeks commented on May 21, 2024

Yeah, it's my Twitch repo. I've been so irregular with Twitch that I haven't sort of mentally integrated the results with the rest of Semiotic, but it's getting to be a growing set of examples.

from semiotic.

curran avatar curran commented on May 21, 2024

Nice! Are there video recordings of the Twitch sessions?

from semiotic.

emeeks avatar emeeks commented on May 21, 2024

The videos are stored for two weeks at https://www.twitch.tv/elijahmeeks/videos/all and I've downloaded the old ones and I need to edit them and put them on Youtube.

from semiotic.

timelyportfolio avatar timelyportfolio commented on May 21, 2024

@curran, also you might want to follow along #70 for the standalone discussion for usage with bl.ocks or blockbuilder. If you wanted to use my bundled version, https://rawgit.com/timelyportfolio/semiotic/standalone/dist/semiotic.js. Will be namespaced Semiotic, so when using

<Semiotic.ORFrame
   size={[700, 700]}

from semiotic.

curran avatar curran commented on May 21, 2024

@timelyportfolio Excellent!

from semiotic.

curran avatar curran commented on May 21, 2024

Is there a "tutorials" section anywhere? If so, this would be a good link to add there https://medium.com/@matt_herman/shared-tooltips-in-semiotic-cd8fdf140d5a

from semiotic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.