GithubHelp home page GithubHelp logo

humanitiesplusdesign / palladio Goto Github PK

View Code? Open in Web Editor NEW
168.0 28.0 31.0 56.47 MB

An application that brings humanities research methods to data visualization.

License: BSD 3-Clause "New" or "Revised" License

HTML 5.07% JavaScript 71.50% CSS 23.16% Shell 0.27%

palladio's Introduction

Installation

Palladio is a supporting library and set of components. It's best-known use is in the Palladio app, which can be found at https://github.com/humanitiesplusdesign/palladio-app. In order to run Palladio locally, first make sure you have yarn installed and then use yarn to install the dependencies and build the assets:

git clone https://github.com/humanitiesplusdesign/palladio-app.git
cd palladio-app
yarn install
yarn build

Then simply run a local web server from this directory -- if you have python installed, you can just use:

python -m http.server

or on python 2.x:

python -m SimpleHTTPServer

Development

The servable files in the assets/ folder are built by webpack. Running yarn develop will set webpack to automatically detect changes in the src/ directory and update the compiled Palladio files as required. In this state, webpack will update palladio.js and palladio.css and their related assets only (not the minified versions). To create new assets suitable for distibution, use yarn build, which creates all the needed assets (minified and unminified).

palladio's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

palladio's Issues

Use case: visualize all connections active during a time range on the basis of existence, rather than start date

This use case relates to an attempt to visualize connections between ancient Greek cities on the basis of the co-presence of specific coin types. The user therefore wants to create a time range visualization by the period of existence of each coin type (this works), and then filter that range to show which types were being minted within a given period of time. All types have start and end dates. When a time range visualization is constructed and displayed as bars, all types appear with both start and end dates. When a time-range filter is created, however, it only filters by start date (so "all types that start to be minted between 550 and 525). The user's query is "all types that either start, end, or continue to be minted during the time range 550 and 525" (and, conversely, no types that are not being minted during that time range). Is this a functionality that already exists? If not, it would be really useful, and in keeping with the purpose of Priestley's original time-range bar graph ("who is alive at point X?").

Pre-filtering by dimension or wizard

For when a dataset is possibly too large.

Use cases:

  1. Choose a time period (1800 - 1950)
  2. Facet dimensions or combinations of dimensions (every letter for which Voltaire is an author or recipient - or for multiple people)
  3. Network-based selection (letters relating to Voltaire or people he corresponded with)
  4. Location-based

stuck on loading

The console shows this error:
Uncaught TypeError: Cannot read property 'map' of undefined

Loaded 3 tables. The application hangs on the data page. It won't move to any view page.

Google spreadsheets can no longer publish to web as format:csv

Apparently this functionality, which was necessary to load a Google spreadsheet directly into Palladio, was removed in the latest version, and is not likely to come back. According to this user forum, some people have been able to load csv from a Google spreadsheet by changing the "Share" link to /export?format=csv&id or export?format=csv, at least as of last May. But this does not work when trying to load into Palladio at the moment. If there's a fix on the Palladio side, that would be best, since the load-from-sheet function is really convenient; but if not, that tab should probably not offer the option to load from a Google spreadsheet.

I tried loading from a spreadsheet that had been published to the web with the publication link (which ends in html), with a manually edited version that ended in csv, with the normal "anyone can view" sharing link, and with the "anyone can view" sharing link changed to /export as above. All produced the same error message: "Sorry, an error occurred while fetching the data".

Timeline: ISO datetime format for data type

Hi Palladio team,

First of all thank you very much for your remarkable work, I'm very proud of writing the very first public issue!
When modifying a Data Type format for a column, the list of possible datatypes lacks ISO datetime format: values like 2012-03-31T15:30:57 or 2012-03-31T15:30:57.123456Z are not recognized as Date/Year, and the interface freeze.

Thanks in advance for your help.

cannot load SPARQL table

While I am able to retrieve data from a SPARQL endpoint through the Palladio interface, it does not give me the option to then load the table. For example, using the British Museum endpoint http://collection.britishmuseum.org/sparql.json:

SELECT ?type (COUNT(?type) as ?n)
WHERE {
  ?object bmo:PX_object_type ?object_type .
  ?object_type skos:prefLabel ?type .

  ?object ecrm:P108i_was_produced_by ?production .
  ?production ecrm:P9_consists_of ?date_node .
  ?date_node ecrm:P4_has_time-span ?timespan .
  ?timespan ecrm:P82a_begin_of_the_begin ?date .
  FILTER(?date >= "1580-01-01"^^xsd:date && ?date <= "1600-01-01"^^xsd:date)
}
GROUP BY ?type
ORDER BY DESC(?n)

I can preview the results successfully:

screen shot 2015-07-12 at 6 07 05 pm

However the "Load data" button remains inactive:

screen shot 2015-07-12 at 6 07 11 pm

Component re-architecture

Allow for a simple API to add Palladio components to a web page.

  • timespan
  • map
  • facet
  • table
  • graph
  • timeline
  • gallery

Updating data

When a previously viewed data set is updated (a table deleted, modified offline, re-attached to primary table) is does not appear in visualization interface and no error is thrown.

In map view - change to "live" editing

Changes in "edit" mode in the setting panel would be more intuitive if they resulted in live changes on the map. "Save" button should turn into a "done" button.

Data limit?

I just loaded a primary table with 63 unique rows but in the facet filter, tabular view, and gallery view I see only 40 unique people.

Palladio 2.0?

Palladio is becoming the data exploration and data-staging platform for digital publication. So the refine/data view more than ever needs the CSV fingerprint-style view of each attribute in a table. Currently, there is no way to know that we only have, for example, birthdates for 40% of the people in the database. So we have no means, through the interface, to evaluate a temporal view of the data. obviously, the same goes for spatial or relational data.
If 50% of Voltaire's letters are missing recipient values, we need to show that as well as the missing destinations. This is where the Fineo-type alluvial diagram can be helpful. CSV fingerprint will only show what is missing in one table. We need to see, more importantly, what is missing in relationships.

Map values with no dates

We have needed for some time to address the problem of incomplete data. One solution for this in mapping is to create a map layer of points or travels for which we have no dates. That makes it necessary to be able to add a data layer based on filters. If we can show points with no dates in red, then run a time phase for the other points, in another layer, we can at least see what we are missing and maybe, if we are lucky, a pattern.

Adding a facet dimension triggers multiple updates

This is actually an issue with the modal directive. Due to use of a label element, clicks get blocked/propagated oddly. Switching to use of a span for the description (input element is not displayed anyway).

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.